A compound shown in formula I and optical isomer, solvate or pharmaceutically acceptable salt thereof, wherein the compound shown in formula I is selected from the following compounds: 1): 2-(3-(4-methoaηbenzyl)-1-(1-methylpiperidin-4-yl)-1 H -1,2,4-triazol-5-yl) morpholine; 2): 2-(1,3-bis(4-methoxybenzyl)-1 H -1,2,4-triazol-5-yl)morpholine; 3): 2-(1-cyclohexyl-3-(4-methoxybenzyl)-1 H -1,2,4-triazol-5-yl)morpholine; 4): 2-(3 -(4-methoxybenzyl)-1-phenyl-1 H -1,2,4-triazol-5-yl)morpholine; 5): 2-(3 -(4-methoxybenzyl)-1-(m-methylphenyl)-1 H -1,2,4-triazol-5-yl)morpholine; 6): 2-(3-(4-methoxybenzyl)-1-(pyridin-2-yl)-1 H -1,2,4-triazol-5-yl)morpholine; 7): 2-(3-(4-methoxybenzyl)-1-(pyrazin-2-yl)-1 H -1,2,4-triazol-5-yl)morpholine; 8): 2-(3 -(4-methoxybenzyl)-1-methyl-1 H -1,2,4-triazol-5-yl)morpholine; 9): 4-benzyl-2-(3 -(4-methoxybenzyl)-1-(1-methylpiperidin-4-yl)-1 H -1,2,4-triazol-5-yl)morpholine; 10): 4-(3-(4-methoxybenzyl)-5-(tetrahydro-2H-pyran-2-yl)-1 H -1,2,4-triazol-5-yl)-1-methylpiperidin; 11): 3-(4-methoxybenzyl)-1-(1-methylpiperidin-4-yl)-1 H -1,2,4-triazol-5-yl)methylamine; 12): 1,3-bis(4-methoxybenzyl)-5-(tetrahydro-2H-pyran-2-yl)-1H-1,2,4-triazole; 13): 2-(1-(4-methoxybenzyl)-3-phenyl-1 H -1,2,4-triazol-5-yl)morpholine; 14): 2-(3-benzyl-1-(1-methylpiperidin-4-yl)-1 H -1,2,4-triazol-5-yl)morpholine; 15): 2-(1-(1-methylpiperidin-4-yl)-3 -phenyl-1 H -1,2,4-triazol-5-yl)morpholine; 16): 2-(1-(1-methylpiperidin-4-yl)-3-(p-methylphenyl)-1 H -1,2,4-triazol-5-yl)morpholine; 17): 2-(1-(1-methylpiperidin-4-yl)-3-(m-methylphenyl)-1 H -1,2,4-triazol-5-yl)morpholine; 18): 4-(5-cyclohexyl-3-(4-methoxybenzyl)-1 H -1,2,4-triazol-5-yl)-1-methylpiperidin; 19): 4-(5-(tert-butyl)-3-(4-methoxybenzyl)-1 H -1,2,4-triazol-5-yl)-1-methylpipendin; 20): 4-(3 -(4-methoxybenzyl)-5-methyl-1 H -1,2,4-triazol-5-yl)-1-methylpiperidin; 21): 5-cyclohexyl-1,3-dis(4-methoxybenzyl)-1H-1,2,4-triazole. 1): 2-(3-(4-methoaηbenzyl)-1-(1-methylpiperidin-4-yl)-1 H -1,2,4-triazol-5-yl) morpholine; 2): 2-(1,3-bis(4-methoxybenzyl)-1 H -1,2,4-triazol-5-yl)morpholine; 3): 2-(1-cyclohexyl-3-(4-methoxybenzyl)-1 H -1,2,4-triazol-5-yl)morpholine; 4): 2-(3 -(4-methoxybenzyl)-1-phenyl-1 H -1,2,4-triazol-5-yl)morpholine; 5): 2-(3 -(4-methoxybenzyl)-1-(m-methylphenyl)-1 H -1,2,4-triazol-5-yl)morpholine; 6): 2-(3-(4-methoxybenzyl)-1-(pyridin-2-yl)-1 H -1,2,4-triazol-5-yl)morpholine; 7): 2-(3-(4-methoxybenzyl)-1-(pyrazin-2-yl)-1 H -1,2,4-triazol-5-yl)morpholine; 8): 2-(3 -(4-methoxybenzyl)-1-methyl-1 H -1,2,4-triazol-5-yl)morpholine; 9): 4-benzyl-2-(3 -(4-methoxybenzyl)-1-(1-methylpiperidin-4-yl)-1 H -1,2,4-triazol-5-yl)morpholine; 10): 4-(3-(4-methoxybenzyl)-5-(tetrahydro-2H-pyran-2-yl)-1 H -1,2,4-triazol-5-yl)-1-methylpiperidin; 11): 3-(4-methoxybenzyl)-1-(1-methylpiperidin-4-yl)-1 H -1,2,4-triazol-5-yl)methylamine; 12): 1,3-bis(4-methoxybenzyl)-5-(tetrahydro-2H-pyran-2-yl)-1H-1,2,4-triazole; 13): 2-(1-(4-methoxybenzyl)-3-phenyl-1 H -1,2,4-triazol-5-yl)morpholine; 14): 2-(3-benzyl-1-(1-methylpiperidin-4-yl)-1 H -1,2,4-triazol-5-yl)morpholine; 15): 2-(1-(1-methylpiperidin-4-yl)-3 -phenyl-1 H -1,2,4-triazol-5-yl)morpholine; 16): 2-(1-(1-methylpiperidin-4-yl)-3-(p-methylphenyl)-1 H -1,2,4-triazol-5-yl)morpholine; 17): 2-(1-(1-methylpiperidin-4-yl)-3-(m-methylphenyl)-1 H -1,2,4-triazol-5-yl)morpholine; 18): 4-(5-cyclohexyl-3-(4-methoxybenzyl)-1 H -1,2,4-triazol-5-yl)-1-methylpiperidin; 19): 4-(5-(tert-butyl)-3-(4-methoxybenzyl)-1 H -1,2,4-triazol-5-yl)-1-methylpipendin; 20): 4-(3 -(4-methoxybenzyl)-5-methyl-1 H -1,2,4-triazol-5-yl)-1-methylpiperidin; 21): 5-cyclohexyl-1,3-dis(4-methoxybenzyl)-1H-1,2,4-triazole.