The invention relates to N-[4-phenyl-5-(1,2,4-triazole-1-yl)thiazole-2-yl]amide shown in a chemical structural formula I (please see the formula in the specification), wherein X<1> and X<3> are selected from chlorine, bromine, fluorine and iodine, X<4> is selected from hydrogen, deuterium, methyl, ethyl, chlorine, bromine, fluorine and iodine, X<2> and X<5> are selected from hydrogen, deuterium, methyl and ethyl, R is selected from hydrogen and methyl, n is selected from 0,1,2 and 3, and Y is selected from hydrogen, C1-C2 alkyl, C3-C11 straight-chain alkyl or branch-chain alkyl, C1-C2 halogenation alkyl or dihalogenation alkyl, C3-C5 halogenation straight-chain alkyl or halogenation branch-chain alkyl and phenyl. The application of the N-[4-phenyl-5-(1,2,4-triazole-1-yl)thiazole-2-yl]amide in preparation of anti-cancer drugs or neuraminidase inhibitors for Hela cells is achieved.