11
WXL
2023-09-14 bbf1fe21ed8c38b837c2558d24e0ba730e125960
src/api/system/config.js
@@ -37,8 +37,8 @@
// 修改参数配置
export function updateConfig(data) {
  return request({
    url: '/system/config',
    method: 'put',
    url: '/system/config/edit',
    method: 'post',
    data: data
  })
}
@@ -46,8 +46,8 @@
// 删除参数配置
export function delConfig(configId) {
  return request({
    url: '/system/config/' + configId,
    method: 'delete'
    url: '/system/config/remove/' + configId,
    method: 'get',
  })
}
@@ -55,7 +55,7 @@
export function refreshCache() {
  return request({
    url: '/system/config/refreshCache',
    method: 'delete'
    method: 'get',
  })
}