A compound of formula (I) or a tautomer, mesomer, racemate, enantiomer or diastereomer or a mixture thereof, or a pharmaceutically acceptable salt thereof: ** (See formula) ** in which: ring A is cycloalkyl , wherein the cycloalkyl is optionally substituted by one or more groups selected from the group consisting of halogen, cyano, nitro, amino, hydroxy, oxo, alkyl, haloalkyl, hydroxyalkyl, alkoxy, cycloalkyl, heterocyclyl, aryl, heteroaryl, carboxyl and alkoxycarbonyl; W1 is N or CRa; W2 is N or CRb; W3 is N or CRc; Ra, Rb and Rc are each independently selected from the group consisting of hydrogen, halogen, cyano, nitro, alkyl, alkenyl, alkynyl, cycloalkyl, heterocyclyl, aryl, heteroaryl, -OR4, -S (O) mR4, - C (O) R4, -C (O) OR4, -C (O) NR5R6, -NR5R6 and -NR5C (O) R6, in which alkyl, alkenyl, alkynyl, cycloalkyl, heteroaciclyl, aryl and heteroaryl are each optionally substituted with one or more groups selected from halogen, cyano, nitro, oxo, alkyl, haloalkyl, hydroxyalkyl, alkenyl, alkynyl, cycloalkyl, heterocyclyl, aryl, heteroaryl, -OR4, -S (O) mR4, -C ( O) R4, -C (O) OR4, -C (O) NR5R6, -NR5R6 and - NR5C (O) R6; R1 is hydrogen or alkyl; R2 and R3 are each independently selected from the group consisting of hydrogen, halogen, cyano, nitro, alkyl, haloalkyl and hydroxyalkyl; R4 is selected from the group consisting of hydrogen, alkyl, halogen, cycloalkyl, heterocyclyl, aryl and heteroaryl, in which alkyl, cycloalkyl, heterocyclyl, aryl and hetearoaryl are each optionally substituted with one or more groups selected from the group consisting of halogen, cyano, nitro, hydroxy, oxo, alkyl, haloalkyl, hydroxyalkyl, alkoxy, cycloalkyl, heterocyclyl, aryl, heteroaryl, carboxyl, alkoxycarbonyl, - C (O) NR5R6, -NR5R6 and -NR5C (O) R6 ; R5 and R6 are each independently selected from the group consisting of hydrogen, alkyl, cycloalkyl, heterocyclyl, aryl and heteroaryl, wherein alkyl, cycloalkyl, heterocyclyl, aryl and heteroaryl are each optionally substituted with one o