The invention discloses a 1,4-disubstituted-1,2,3-triazole compound preparation method which comprises the following steps: (1) adding a catalyst inorganic base in an ionic liquid, wherein the catalyst inorganic base is potassium hydroxide or sodium hydroxide, and the ionic liquid is 1-butyl-3-methylimidazolium tetrafluoroborate, 1-Buthyl-3-methylidazolium bromide or 1-butyl-3-methylimidazolium hexafluorophosphate; (2) adding raw material phenylacetaldehyde or substituted phenylacetaldehyde and pinacolborane in the mixed system formed in the step (1), reacting under the room temperature at the stirring condition, separating out the solid phase after reaction finishing, extracting diethyl ether, and drying to obtain the 1,4-disubstituted-1,2,3-triazole compound. The preparation method has the advantages that the catalytic system is simple, the operation is convenient, the reaction condition is mild, and reactive solvents can be recycled repeatedly.