Blame view

src/api/config/manage/configValue.js 848 Bytes
yuanshuhui authored
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import request from '@/utils/request'

// 查看系统参数配置列表
export function listValue(query) {
  return request({
    url: '/config/configValue',
    method: 'get',
    params: query
  })
}


// 新增系统参数配置
export function addValue(data) {
  return request({
    url: '/config/configValue',
    method: 'post',
    data: data
  })
}

// 根据id查询系统参数配置
export function getValue(id) {
  return request({
    url: '/config/configValue/'+id,
    method: 'get'
  })
}

// 修改系统参数配置
export function updateValue(data) {
  return request({
    url: '/config/configValue',
    method: 'put',
    data: data
  })
}


// 删除系统参数配置
yuanshuhui authored
41
export function delValue(ids) {
yuanshuhui authored
42
  return request({
yuanshuhui authored
43
44
    url: '/config/configValue/remove',
    method: 'delete',
yuanshuhui authored
45
    params: {ids:ids.toString()}
yuanshuhui authored
46
47
48
49
  })
}