The invention relates to a compound of formula I, its stereoisomer, enantiomer, medicinal salt or amino acid conjugates, in formula (I), each variable is as defined herein; the invention also relates to their pharmaceutical compositions, the compounds and pharmaceutical compositions of the invention can be used as a regulator of the activity of the farnesol X receptor (FXR).本發明涉及式I化合物、其立體異構體、對映體、可藥用的鹽或氨基酸軛合物,在式(I)中,各變量如本文所定義;本發明還涉及它們的藥用組合物,本發明的化合物和藥用組合物可以用作法尼醇X受體(FXR)活性的調節劑。