From ad70f145e8bea957b41043b4a1e37ce37cc5ed1e Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 16 一月 2024 18:39:24 +0800 Subject: [PATCH] 指标完成 --- src/api/system/category.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/system/category.js b/src/api/system/category.js index f07f46f..d16f4b8 100644 --- a/src/api/system/category.js +++ b/src/api/system/category.js @@ -29,8 +29,8 @@ // 淇敼闂嵎鍒嗙被 export function updateCategory(data) { return request({ - url: '/system/category', - method: 'put', + url: '/system/category/edit', + method: 'post', data: data }) } @@ -38,7 +38,7 @@ // 鍒犻櫎闂嵎鍒嗙被 export function delCategory(ID) { return request({ - url: '/system/category/' + ID, - method: 'delete' + url: '/system/category/remove/' + ID, + method: 'get' }) } -- Gitblit v1.9.3