General procedure for the synthesis of 4-methyl-5-bromothiazole from 4-methylthiazole: 4-methylthiazole (200 μL, 2.2 mmol) was mixed with bromine (112 μL, 2.2 mmol) in acetic acid (2 mL), and the reaction system needed to be protected from light, and the reaction was stirred for 16 hours at room temperature. Upon completion of the reaction, the reaction mixture was washed with 10% aqueous sodium carbonate solution and subsequently extracted with ethyl acetate. The organic phase was washed with saturated brine, dried over anhydrous sodium sulfate and concentrated under reduced pressure to afford the target product 4-methyl-5-bromothiazole (0.085 g, 22% yield). Its nuclear magnetic resonance hydrogen spectrum (1H NMR, 400 MHz, CDCl3) data were as follows: δ 2.45 (3H, s), 8.69 (1H, s).