Disclosed in the present invention are a heterocyclic compound, an application thereof and a pharmaceutical composition comprising the same. Provided by the present invention are a heterocyclic compound represented by formula I or a pharmaceutically acceptable salt thereof. The compound has a novel structure and a good inhibitory activity against autotaxin (ATX).La présente invention concerne un composé hétérocyclique, son application et une composition pharmaceutique le comprenant. La présente invention concerne un composé hétérocyclique représenté par la formule I ou un sel pharmaceutiquement acceptable de celui-ci. Le composé présente une nouvelle structure et une bonne activité inhibitrice contre l'autotaxine (ATX).