A compound represented by formula or a pharmaceutically acceptable salt, a solvate, a polymorph, or an isotope label thereof, wherein, X is selected from -O- or -S-; L 1 is selected from -O-, -S-, -S(=O)-, -S(=O) 2 -, -NR 6 - or a single bond; L 2 is selected from -O-, -S-, -S(=O)-, -S(=O) 2 - or -NR 6 -; R 1, R 2, and R 5 are each independently selected from the following substituted or unsubstituted groups: hydrogen, halogen, a C 1~8 alkyl, a C 1~8 alkoxy, a C 1~8 haloalkyl, a C 3~8 cycloalkyl, a C 3~8 heterocyclic group, a C 6-20 aryl group, a C 5-20 heteroaryl group, hydroxyl, mercapto, carboxyl, ester group, acyl, amino, amide, sulfonyl or cyano; the substituents R 3 and R 4 on each C atom are each independently selected from the following substituted or unsubstituted groups: hydrogen, halogen, a C 1~8 alkyl, a C 1~8 alkoxy, a C 1~8 haloalkyl, a C 3~8 cycloalkyl, a C 3~8 heterocyclyl, a C 6~20 aryl, a C 5~20 heteroaryl, hydroxy, mercapto, carboxy, ester group, acyl, amino, amido, sulfonyl, cyano, or the substituents R 3 and R 4 together with X group form a 3-10 membered cycloalkyl group, a 3-10 membered heterocyclic group containing at least one heteroatom, or a 5-10 membered heteroaryl group containing at least one heteroatom; or R 3 and R 4 are each independently a single bond connecting the C atom and the adjacent macrocyclic ring atom; R 3' and R 4' are each independently selected from the following substituted or unsubstituted groups: hydrogen, halogen, a C 1~8 alkyl, a C 1~8 alkoxy, a C 1~8 haloalkyl, a C 3~8 cycloalkyl, a C 3~8 heterocyclic group, a C 6-20 aryl group, a C 5-20 heteroaryl group, hydroxyl group, mercapto group, carboxyl group, ester group, acyl group, amino group, amide group, sulfonyl group, or cyano group; R 6 is selected from the following substituted or unsubstituted groups: hydrogen, halogen, a C 1~8 alkyl, a C 1~8 alkoxy, a C 1~8 haloalkyl, a C 3~8 cycloalkyl, a C 3~8 heterocyclyl, a C 6~20 aryl, a C 5~20 heteroaryl, hydroxyl, mercapto, carboxy, ester, acyl, amino, amido, sulfonyl or cyano; Z represents C or heteroatom as a ring atom; n represents an integer from 1 to 10; the substituents of the above-mentioned groups may be selected from halogen, a C 1~8 alkyl, a C 1~8 haloalkyl, a C 1~8 alkoxy, a C 3~8 cycloalkyl, a C 3~8 heterocyclyl, a C 6~20 aryl, a C 5-20 heteroaryl, hydroxyl, mercapto, carboxy, ester group, acyl, amino, amido, sulfonyl or cyano; the above-mentioned heteroatoms are selected from N, O or S. X is selected from -O- or -S-; L 1 is selected from -O-, -S-, -S(=O)-, -S(=O) 2 -, -NR 6 - or a single bond; L 2 is selected from -O-, -S-, -S(=O)-, -S(=O) 2 - or -NR 6 -; R 1, R 2, and R 5 are each independently selected from the following substituted or unsubstituted groups: hydrogen, halogen, a C 1~8 alkyl, a C 1~8 alkoxy, a C 1~8 haloalkyl, a C 3~8 cycloalkyl, a C 3~8 heterocyclic group, a C 6-20 aryl group, a C 5-20 heteroaryl group, hydroxyl, mercapto, carboxyl, ester group, acyl, amino, amide, sulfonyl or cyano; the substituents R 3 and R 4 on each C atom are each independently selected from the following substituted or unsubstituted groups: hydrogen, halogen, a C 1~8 alkyl, a C 1~8 alkoxy, a C 1~8 haloalkyl, a C 3~8 cycloalkyl, a C 3~8 heterocyclyl, a C 6~20 aryl, a C 5~20 heteroaryl, hydroxy, mercapto, carboxy, ester group, acyl, amino, amido, sulfonyl, cyano, or the substituents R 3 and R 4 together with X group form a 3-10 membered cycloalkyl group, a 3-10 membered heterocyclic group containing at least one heteroatom, or a 5-10 membered heteroaryl group containing at least one heteroatom; or R 3 and R 4 are each independently a single bond connecting the C atom and the adjacent macrocyclic ring atom; R 3' and R 4' are each independently selected from the following substituted or unsubstituted groups: hydrogen, halogen, a C 1~8 alkyl, a C 1~8 alkoxy, a C 1~8 haloalkyl, a C 3~8 cycloalkyl, a C 3~8 heterocyclic group, a C 6-20 aryl group, a C 5-20 heteroaryl group, hydroxyl group, mercapto group, carboxyl group, ester group, acyl group, amino group, amide group, sulfonyl group, or cyano group; R 6 is selected from the following substituted or unsubstituted groups: hydrogen, halogen, a C 1~8 alkyl, a C 1~8 alkoxy, a C 1~8 haloalkyl, a C 3~8 cycloalkyl, a C 3~8 heterocyclyl, a C 6~20 aryl, a C 5~20 heteroaryl, hydroxyl, mercapto, carboxy, ester, acyl, amino, amido, sulfonyl or cyano; Z represents C or heteroatom as a ring atom; n represents an integer from 1 to 10; the substituents of the above-mentioned groups may be selected from halogen, a C 1~8 alkyl, a C 1~8 haloalkyl, a C 1~8 alkoxy, a C 3~8 cycloalkyl, a C 3~8 heterocyclyl, a C 6~20 aryl, a C 5-20 heteroaryl, hydroxyl, mercapto, carboxy, ester group, acyl, amino, amido, sulfonyl or cyano; the above-mentioned heteroatoms are selected from N, O or S.