Preparation method of a compound of general formula (I) comprises the following steps: (1) a compound of general formula (II) reacts with a formylating agent in an aprotic solvent at a temperature between −20° C. and 200° C. in the presence of a Lewis acid, then an organic base is added to promote the reaction to obtain an intermediate product; (2) the above intermediate product reacts with a methylating agent in the presence of an alkali at a temperature between −20° C. and 100° C. to obtain the compound of formula (I).
通用式(I)化合物的制备方法包括以下步骤:(1)通用式(II)化合物在无
水溶剂中与一种
甲酰化试剂在-20°C至200°C的温度范围内,在Lewis酸的存在下反应,然后加入有机碱促进反应以获得中间产物;(2)上述中间产物在碱的存在下与一种
甲基化试剂在-20°C至100°C的温度范围内反应,以获得通式(I)化合物。