Просмотр исходного кода

feat(types): 添加接口相关

lipk 3 лет назад
Родитель
Сommit
ab891a80f4
2 измененных файлов с 12 добавлено и 0 удалено
  1. 1 0
      types/src/interface/api/index.ts
  2. 11 0
      types/src/interface/api/processApi.ts

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

@@ -1 +1,2 @@
 export * from './approvaApi';
 export * from './approvaApi';
+export * from './processApi';

+ 11 - 0
types/src/interface/api/processApi.ts

@@ -0,0 +1,11 @@
+export namespace PostGetProcessListByTemplateId {
+  export type Params = {
+    businessID: string;
+    templateID: string[];
+  };
+
+  export type Body = Array<{
+    templateId: string;
+    referenceProcessId: string;
+  }>;
+}