From cee338f18d22bbbb989d79c0add082fdb4e2b8ef Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 08 Sep 2023 11:09:00 +0800
Subject: [PATCH] store添加projectId

---
 src/api/http/type.ts |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/api/http/type.ts b/src/api/http/type.ts
index 33c2a73..78de4ca 100644
--- a/src/api/http/type.ts
+++ b/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 {

--
Gitblit v1.9.3