The present invention relates to the field of genetic engineering, in particular to a rosavir analog, a genetically engineered bacterium producing the rosavir analog, and an application thereof. The rosevin analog has a structure shown in formula I, formula II, formula III or formula IV, and the genetically engineered bacterium contains phenylalanine ammonia lyase or tyrosine ammonia lyase, 4-coumaric acid coenzyme A Genes for ligase 4CL, cinnamoyl-CoA reductase CCR, and UDP glucosyltransferase UGT. The genetically engineered bacteria can ferment and produce Triandrin and Triandrin B (Formula IV); or Triandrin, Triandrin B, Triandrin C (Formula II) and Triandrin D (Formula III), and the yield of Triandrin and Triandrin B can reach up to 1.7g / L and 1.6g / L; or Luosaiwei B (formula I), the highest output can reach 1.6g / L.