From e8c62bd430b9697d3f954125b7ec9f61f18347a2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 11:19:34 +0800
Subject: [PATCH] 测试完成
---
src/api/smartor/schemecategory.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/api/smartor/schemecategory.js b/src/api/smartor/schemecategory.js
index 39f01d6..5e41bd1 100644
--- a/src/api/smartor/schemecategory.js
+++ b/src/api/smartor/schemecategory.js
@@ -29,8 +29,8 @@
// 淇敼鏂规鍒嗙被
export function updateSchemecategory(data) {
return request({
- url: '/smartor/schemecategory',
- method: 'put',
+ url: '/smartor/schemecategory/edit',
+ method: 'post',
data: data
})
}
@@ -38,7 +38,7 @@
// 鍒犻櫎鏂规鍒嗙被
export function delSchemecategory(id) {
return request({
- url: '/smartor/schemecategory/' + id,
- method: 'delete'
+ url: '/smartor/schemecategory/remove/' + id,
+ method: 'get'
})
}
--
Gitblit v1.9.3