The invention relates to prodrugs of JAK inhibitor containing Glucosidic acid derivatives, their preparation method and application thereof. The present invention provides compounds of general formula (I) and their pharmaceutical compositions as the prodrugs of JAK inhibitor, methods for treating inflammatory diseases and cancer diseases using the compounds, and the methods for preparing the compounds and the intermediates thereof. The definitions of substituents in the general formula (I) are the same as those in the specification.本發明涉及含有葡糖苷酸衍生物JAK抑制劑的前藥及其製備方法和應用。本發明提供作為JAK抑制劑的前藥的通式(I)化合物及其醫藥組合物、使用前述化合物治療炎症性疾病和腫瘤疾病的方法和用於製備前述化合物的方法和中間體。其中通式(I)中的各取代基與說明書中的定義相同。