From 8b85040d9522ec80e82e8a2dea17f39b6de343f1 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 09 Oct 2023 09:39:37 +0800
Subject: [PATCH] 计划库查询时间默认前三天到后三天
---
src/api/http/type.ts | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/src/api/http/type.ts b/src/api/http/type.ts
index c28eb94..c79d3e5 100644
--- a/src/api/http/type.ts
+++ b/src/api/http/type.ts
@@ -20,19 +20,11 @@
pagination: IPage;
};
}
-// 接口返回参数字段
-interface Field<T> {
- code: number
- data: T,
- message: string
- success: boolean
-}
// Workspace
export interface IWorkspaceResponse<T> {
- code: number;
- data: Field<T>;
- message: string;
- success:boolean;
+ code: number;
+ data: T;
+ message: string;
}
export type IStatus = 'WAITING' | 'DOING' | 'SUCCESS' | 'FAILED';
--
Gitblit v1.9.3