From b642788dda56b058e2a4c40a9c43e29a5db85865 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 14 八月 2023 09:35:28 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/api/omd/btmType.js |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/omd/btmType.js b/Source/UBCS-WEB/src/api/omd/btmType.js
index 1d9218e..11938d0 100644
--- a/Source/UBCS-WEB/src/api/omd/btmType.js
+++ b/Source/UBCS-WEB/src/api/omd/btmType.js
@@ -40,4 +40,32 @@
             oid: oid
         }
     })
+}
+
+export const add = (btmType,auto) => {
+    return request({
+        url: '/api/ubcs-omd/btm-type/submit/' + auto,
+        method: 'post',
+        data: btmType
+    })
+}
+
+export const update = (btmType) => {
+    return request({
+        url: '/api/ubcs-omd/btm-type/submit/' + auto,
+        method: 'post',
+        data: btmType
+    })
+}
+
+export const btmPage = (current,size,params) => {
+    return request ({
+        url: '/api/ubcs-omd/btm-type/page',
+        method: 'get',
+        params: {
+            current,
+            size,
+            ...params
+        }
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3