import { axios } from '@/utils/request'

// 获取数据
export const queryList = (params) => {
  const url = `/sysParamsConfig/queryList`
  return axios({
    url: url,
    data: params,
    method: 'post',
    headers:{
          'module': encodeURIComponent('获取sysParamsConfig数据')
        }
  })
}

// 修改数据
export const batchUpdateByCode = (params) => {
  const url = `/sysParamsConfig/batchUpdateByCode`
  return axios({
    url: url,
    data: params,
    method: 'post',
    headers:{
          'module': encodeURIComponent('修改sysParamsConfig数据')
        }
  })
}
