From cf29b0e7df3af2ce2c1fcd0b515132bdc038bd37 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 28 Feb 2024 14:20:27 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_web
---
src/api/categoryLabel/category.js | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/api/categoryLabel/category.js b/src/api/categoryLabel/category.js
index a320623..b85246d 100644
--- a/src/api/categoryLabel/category.js
+++ b/src/api/categoryLabel/category.js
@@ -32,13 +32,21 @@
})
}
-export const remove = (id) => {
+export const remove = (ids) => {
return request({
url: '/api/blade-category/category/remove',
method: 'post',
params: {
- id,
+ ids
}
+ })
+}
+
+export const update = (row) => {
+ return request({
+ url: '/api/blade-category/category/update',
+ method: 'post',
+ data: row
})
}
@@ -48,4 +56,4 @@
method: 'post',
data: row
})
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3