From 562a960261b75d70abd65aa10528f09aeece94e8 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 24 九月 2024 09:49:23 +0800
Subject: [PATCH] 代码提交
---
ruoyi-ui/src/api/system/config.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ruoyi-ui/src/api/system/config.js b/ruoyi-ui/src/api/system/config.js
index a404d82..9d651fe 100644
--- a/ruoyi-ui/src/api/system/config.js
+++ b/ruoyi-ui/src/api/system/config.js
@@ -28,7 +28,7 @@
// 鏂板鍙傛暟閰嶇疆
export function addConfig(data) {
return request({
- url: '/system/config',
+ url: '/system/config/add',
method: 'post',
data: data
})
@@ -37,8 +37,8 @@
// 淇敼鍙傛暟閰嶇疆
export function updateConfig(data) {
return request({
- url: '/system/config',
- method: 'put',
+ url: '/system/config/edit',
+ method: 'post',
data: data
})
}
@@ -47,7 +47,7 @@
export function delConfig(configId) {
return request({
url: '/system/config/' + configId,
- method: 'delete'
+ method: 'get'
})
}
@@ -55,6 +55,6 @@
export function refreshCache() {
return request({
url: '/system/config/refreshCache',
- method: 'delete'
+ method: 'get'
})
}
--
Gitblit v1.9.3