From 4b0a798f81ea4ad201421ae02fa896d55a20beb0 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Tue, 07 May 2024 13:56:20 +0800
Subject: [PATCH] 新增表单登录接口
---
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