From c60e588944ffbe400cb1f82a00f49df49eec81cf Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 20 九月 2023 20:28:48 +0800
Subject: [PATCH] 引用码段-JSON.parse问题处理

---
 Source/UBCS-WEB/src/api/omd/OmdAttribute.js |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/omd/OmdAttribute.js b/Source/UBCS-WEB/src/api/omd/OmdAttribute.js
index 690ad99..6e23b4e 100644
--- a/Source/UBCS-WEB/src/api/omd/OmdAttribute.js
+++ b/Source/UBCS-WEB/src/api/omd/OmdAttribute.js
@@ -24,12 +24,12 @@
   })
 }
 
-export const remove = (ids) => {
+export const remove = (oid) => {
   return request({
     url: '/api/ubcs-omd/attribute/remove',
     method: 'post',
     params: {
-      ids,
+      oid,
     }
   })
 }
@@ -63,3 +63,13 @@
   })
 }
 
+export const getApplyRange = (oid) => {
+  return request({
+    url: '/api/ubcs-omd/attribute/apply-range',
+    method: 'get',
+    params: {
+      oid
+    }
+  })
+}
+

--
Gitblit v1.9.3