From 01bbc8f0563b33dd5ce6d59f76c3bae9931615dd Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 05 六月 2024 17:32:07 +0800
Subject: [PATCH] 代码提交
---
ruoyi-ui/src/api/system/dict/type.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/ruoyi-ui/src/api/system/dict/type.js b/ruoyi-ui/src/api/system/dict/type.js
index a7a6e01..14ab7b8 100644
--- a/ruoyi-ui/src/api/system/dict/type.js
+++ b/ruoyi-ui/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
})
}
@@ -39,7 +39,7 @@
export function delType(dictId) {
return request({
url: '/system/dict/type/' + dictId,
- method: 'delete'
+ method: 'get'
})
}
@@ -47,7 +47,7 @@
export function refreshCache() {
return request({
url: '/system/dict/type/refreshCache',
- method: 'delete'
+ method: 'get'
})
}
@@ -57,4 +57,4 @@
url: '/system/dict/type/optionselect',
method: 'get'
})
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3