shikeying
2023-02-24 a421bf9bdf8e7b30b1995041134425c6754d49af
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'
  })
}