The invention relates to an N2-glycosyl-substituted 1,2,3-triazole compound and a synthesis method and application thereof. The general structural formula of the N2-glycosyl-substituted 1,2,3-triazole compound is shown in the specification, wherein R1 indicates H atoms or halogen atoms or alkyl groups of 1-6 carbon atoms or alkoxy groups of 3-10 carbon atoms or aryl groups or heterocyclic groups or benzoyl groups or formyloxy groups or cyano groups, and R indicates hydrogen or alkyl groups or halogen atoms or nitro groups or alkoxy groups or cyano groups and is located at ortho-position, meta-position and para-position single substitution or polysubstitution of aromatic rings. The N2-glycosyl-substituted 1,2,3-triazole compound and the synthesis method and application thereof have the advantages that synthesis conditions are easy to control, the yield is high, and the cost is low; application of triazole derivatives in the fields of pesticide, medicine, food and the like is further promoted; a new way is provided for research and development of high-value utilization and modification of triazole; the compound has high inhibiting ability for alpha-glucosidase and can be further developed into medicine used for treating or assisting in treating diabetes mellitus type 2.