WXL (wul)
2 天以前 de4162e7cbf370ce2fe0ab777e1c9e96f14e116a
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
  })
}
@@ -46,15 +46,15 @@
// 删除参数配置
export function delConfig(configId) {
  return request({
    url: '/system/config/' + configId,
    method: 'delete'
    url: '/system/config/remove/' + configId,
    method: 'get'
  })
}
// 刷新参数缓存
export function refreshCache() {
  return request({
    url: '/system/config/refreshCache',
    method: 'delete'
    url: '/system/config/refreshCache/remove',
    method: 'get'
  })
}