From 1be7d1dc4426a005621ddb14c96960ca4280bed1 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 20 六月 2024 09:51:11 +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