configValue.js 848 Bytes
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
  })
}


// 删除系统参数配置
export function delValue(ids) {
  return request({
    url: '/config/configValue/remove',
    method: 'delete',
    params: {ids:ids.toString()}
  })
}