From 7c71fcb61dd0bfc6a179a973f9cab5ef979ad5f2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 02 二月 2026 17:11:56 +0800
Subject: [PATCH] 测试完成
---
src/api/knowledge/education.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/api/knowledge/education.js b/src/api/knowledge/education.js
index 077319f..5def78d 100644
--- a/src/api/knowledge/education.js
+++ b/src/api/knowledge/education.js
@@ -4,8 +4,8 @@
// 淇敼瀹f暀鍒嗙被
export function amendtag(data) {
return request({
- url: '/smartor/hecategory',
- method: 'put',
+ url: '/smartor/hecategory/edit',
+ method: 'post',
data: data
})
};
@@ -40,8 +40,8 @@
*/
export function deletetag(userId) {
return request({
- url: '/smartor/hecategory/' + userId,
- method: 'delete',
+ url: '/smartor/hecategory/remove/' + userId,
+ method: 'get',
})
};
// 瀵煎嚭鏍囩鍒楄〃
--
Gitblit v1.9.3