src/api/http/type.ts
@@ -17,13 +17,21 @@ pagination: IPage; }; } // 接口返回参数字段 interface Field<T> { code: number data: T, message: string success: boolean } // Workspace export interface IWorkspaceResponse<T> { [x: string]: number; code: number; data: T; data: Field<T>; message: string; success:boolean; } export type IStatus = 'WAITING' | 'DOING' | 'SUCCESS' | 'FAILED'; export interface CommonListResponse<T> extends IResult {