武田小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
563 B

interface IAppOption {
globalData: {
userInfo?: WechatMiniprogram.UserInfo
url: string
upFileUrl: string
imageUrl: string
}
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback
waitLogin: () => Promise<any>
getMenuInfo: (arg0: WechatMiniprogram.Page.Instance<any, any>) => void
}
interface IAgaxParams extends WechatMiniprogram.RequestOption {
showMsg?: boolean
loading?: boolean
isJSON?: boolean
}
declare namespace WechatMiniprogram {
export interface Wx {
ajax: (arg0: IAgaxParams) => Promise<any>
}
}