liusheng
2024-05-10 bb60b5747d5f4b85655a541d4990ec7464497b1b
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'
  })
}