From a46348ad86f5df632c58bed5866a70f798b75d5e Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 12 四月 2024 17:33:37 +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