export interface IApiConfig { url: string; method?: string; } export interface IHttpRequestParam { apiCfg: string | IApiConfig; method?: string; withToken?: boolean; data?: any; otherParams?: any; successCb?: Function; errorCb?: Function; } /** * 状态码 */ export declare enum RESPONSE_STATUS_CODE { code200 = 200, code401 = 401, code500 = 500 }