liuguocan
2023-02-24 f82dccc18d2dc59b6598e5f83658cbe965a8c210
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import request from '@/utils/request'
 
// 查询参数列表
export function listConfig(query) {
  return request({
    url: '/system/file/list',
    method: 'get',
    params: query
  })
}
 
// 根据参数键名查询参数值
export function getConfigKey(configKey) {
  return request({
    url: '/system/config/configKey/' + configKey,
    method: 'get'
  })
}
 
// 删除参数配置
export function delConfig(configId) {
  return request({
    url: '/system/file/remove/' + configId,
    method: 'post'
  })
}