liusheng
2024-11-22 da6cce0d9f01b98d20b9ed89b438cd32006a8dd8
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'
  })
}