疯狂的狮子li
2023-03-02 11e4b563130ed405c52f48489c38f52c0804a64d
ruoyi-ui/src/api/system/config.js
@@ -43,6 +43,18 @@
  })
}
// 修改参数配置
export function updateConfigByKey(key, value) {
  return request({
    url: '/system/config/updateByKey',
    method: 'put',
    data: {
      configKey: key,
      configValue: value
    }
  })
}
// 删除参数配置
export function delConfig(configId) {
  return request({
@@ -51,19 +63,11 @@
  })
}
// 清理参数缓存
export function clearCache() {
// 刷新参数缓存
export function refreshCache() {
  return request({
    url: '/system/config/clearCache',
    url: '/system/config/refreshCache',
    method: 'delete'
  })
}
// 导出参数
export function exportConfig(query) {
  return request({
    url: '/system/config/export',
    method: 'get',
    params: query
  })
}