export interface IMgopRequestConfig extends IMgopParams { } export interface IMgopResponseConfig { api: string; data: any; ret: string[]; } export interface IToken { appkey: string; timestamp: string; token: string; data: any; } export interface ICommonData { onSuccess?: (e: any) => void; onFail?: (e: any) => void; [key: string]: any; } export interface IMgopRequestUrlConfig { url: string; query: any; } export interface IMgopParams { api: string; onSuccess?: (e: any) => void; onFail?: (e: any) => void; data?: any; header?: any; appKey: string; env?: "online" | "pre" | "daily"; host?: string; }