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 | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/api/http/type.ts b/src/api/http/type.ts
index f7d7982..78de4ca 100644
--- a/src/api/http/type.ts
+++ b/src/api/http/type.ts
@@ -17,11 +17,19 @@
pagination: IPage;
};
}
+// 接口返回参数字段
+interface Field<T> {
+ code: number
+ data: T,
+ message: string
+ success: boolean
+}
// Workspace
export interface IWorkspaceResponse<T> {
code: number;
- data: T;
+ data: Field<T>;
message: string;
+ success:boolean;
}
export type IStatus = 'WAITING' | 'DOING' | 'SUCCESS' | 'FAILED';
--
Gitblit v1.9.3