Therefore, we designed the following experiments to explore the mechanism of niacin inhibition of mastitis through GPR109A. Here, HCAR2 is linked to mastitis.