From 3a7caf4344d5911a3ee68d232e53887d6cc2ff6b Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 15 一月 2025 15:41:25 +0800
Subject: [PATCH] 测试完成

---
 src/api/system/dict/type.js |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js
index a7a6e01..b76e842 100644
--- a/src/api/system/dict/type.js
+++ b/src/api/system/dict/type.js
@@ -20,7 +20,7 @@
 // 鏂板瀛楀吀绫诲瀷
 export function addType(data) {
   return request({
-    url: '/system/dict/type',
+    url: '/system/dict/type/add',
     method: 'post',
     data: data
   })
@@ -29,8 +29,8 @@
 // 淇敼瀛楀吀绫诲瀷
 export function updateType(data) {
   return request({
-    url: '/system/dict/type',
-    method: 'put',
+    url: '/system/dict/type/edit',
+    method: 'post',
     data: data
   })
 }
@@ -38,16 +38,16 @@
 // 鍒犻櫎瀛楀吀绫诲瀷
 export function delType(dictId) {
   return request({
-    url: '/system/dict/type/' + dictId,
-    method: 'delete'
+    url: '/system/dict/type/remove/' + dictId,
+    method: 'get'
   })
 }
 
 // 鍒锋柊瀛楀吀缂撳瓨
 export function refreshCache() {
   return request({
-    url: '/system/dict/type/refreshCache',
-    method: 'delete'
+    url: '/system/dict/type/refreshCache/remove',
+    method: 'get'
   })
 }
 
@@ -57,4 +57,4 @@
     url: '/system/dict/type/optionselect',
     method: 'get'
   })
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3