Explorar el Código

feat(types): 尝试接入接口类型相关

lipk hace 3 años
padre
commit
df0d326324

+ 27 - 0
types/src/api/PostApprovalCopyGatherYsProfileFiles.ts

@@ -0,0 +1,27 @@
+import { IGatherYsProfileFile } from "../interface";
+
+export namespace PostApprovalCopyGatherYsProfileFiles {
+
+    export const url = "/approval/copyGatherYsProfileFiles";
+
+    export type Body = {
+        fileDataList: {
+            name: string;
+            ext: string;
+            size: any;
+            path: string;
+            createTime: number;
+        }[];
+        gypID: string;
+    }
+
+    export interface Response200 {
+        errno: number;
+        data: {
+            fileList: IGatherYsProfileFile[];
+            count: number;
+        };
+        message: string;
+    }
+
+}

+ 1 - 0
types/src/api/index.ts

@@ -0,0 +1 @@
+export * from './PostApprovalCopyGatherYsProfileFiles';

+ 1 - 0
types/src/index.ts

@@ -1 +1,2 @@
 export * from './interface/index';
+export * from './api/PostApprovalCopyGatherYsProfileFiles'