Browse Source

系统配置

aleyds 1 year ago
parent
commit
d7dc9e90a2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/api/system/config.js

+ 3 - 3
src/api/system/config.js

@@ -37,7 +37,7 @@ export function addConfig(data) {
 // 修改参数配置
 export function updateConfig(data) {
   return request({
-    url: '/system/system/config',
+    url: '/system//config',
     method: 'put',
     data: data
   })
@@ -46,7 +46,7 @@ export function updateConfig(data) {
 // 删除参数配置
 export function delConfig(configId) {
   return request({
-    url: '/system/system/config/' + configId,
+    url: '/system//config/' + configId,
     method: 'delete'
   })
 }
@@ -54,7 +54,7 @@ export function delConfig(configId) {
 // 刷新参数缓存
 export function refreshCache() {
   return request({
-    url: '/system/system/config/clearCache',
+    url: '/system/config/clearCache',
     method: 'delete'
   })
 }