Fluoxetine (154.7 mg, 0.5 mmol), and a stirrer were placed into the reaction tube, and after displacing the inert gas, DMF (193 L, 2.5 mmol) was added and the reaction tube was sealed. The reaction tube was placed in an oil bath reactor at 150 C for 96 h with stirring. After cooling to room temperature, diluted with 15mL water, and extracted with ethyl acetate for 3 times, 15mL each time, combined the extracts, and dried with anhydrous sodium sulfate, filtered, the filtrate was concentrated under reduced pressure, and then the crude product was obtained as pure product by column chromatography with the eluent of ethyl acetate: petroleum ether = 1:2 (containing 1% triethylamine). Yellow oily liquid, yield 76%.