From aec00ecc093be803860c8675cbe1c4c776a7cb4e Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Tue, 19 Mar 2024 17:49:21 +0800
Subject: [PATCH] update: 新建航线、事件编辑、kmz文件问题修改
---
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