A compound having a chemical structure of formula I, wherein n is 0 or 1, X is N or C-R1, R1 is H or Cl, R2 and R3 are independently H, a halogen or an alkyl group, Ar is a substituted or unsubstituted phenylene or naphthylene group, with the substituted or unsubstituted phenylene group being A or B, and the naphthylene group being C, R4 is H, a halogen or an alkyl group, R5 is H, a halogen, an alkyl group, an alkoxyl group or a hydroxyl group, R6 is H or a hydroxyl group, and R7 is a substituted or unsubstituted aryl group. The compound has SHP-1 agonist activity, and can be used to treat cancer.La présente invention concerne un composé présentant une structure chimique de formule I, dans laquelle n représente 0 ou 1, X représente N ou C-R1, R1 représente H ou Cl, R2 et R3 représentent indépendamment H, un halogène ou un groupe alkyle, Ar représente un groupe phénylène ou naphtylène substitué ou non substitué, le groupe phénylène et/ou le groupe naphtylène substitué(s) ou non substitué(s) représentant , R4 représente H, un halogène ou un groupe alkyle, R5 représente H, un atome d'halogène, un groupe alkyle, un groupe alcoxyle ou un groupe hydroxyle, R6 représente H ou un groupe hydroxyle, et R7 représente un groupe aryle substitué ou non substitué. Le composé de la présente invention présente une activité agoniste de la SHP-1, et peut être utilisé pour traiter le cancer.一种具有化学结构式I的化合物,其中n为0或1;X为N或C-R 1;R 1为H或Cl;R 2与R 3各自独立地为H、卤素或烷基;Ar为被取代或未被取代的亚苯基、或亚萘基,其中所述被取代或未被取代的亚苯基为A或B且所述亚萘基为C;R 4为H、卤素、或烷基;R 5为H、卤素、烷基、烷氧基、或羟基;R 6为H或羟基;以及R 7为未被取代或被取代的芳香基。所述化合物具有SHP-1激动剂活性,能够用于治疗癌症。