The results of the study showed that compared with the control group, the mastitis tissue showed tissue damage, accumulation of collagen fibers, and the content of TGF-β1 in mammary tissue and milk was significantly increased; the level of inflammatory mediators was significantly increased; the fibrotic phenotype, collagen 1, α-SMA, vimentin gene, and protein levels were significantly increased, while the E-cadherin gene and protein levels were significantly decreased. The gene discussed is VIM; the disease is mastitis.