import Api from '~/service/Api'

export function queryByPage(data) {
  return Api.post('/manager/offcfg/queryByPage', data)
}

export function queryAll(data) {
  return Api.post('/manager/offcfg/queryAll', data)
}

export function queryById(data) {
  return Api.post('/manager/offcfg/queryById', data)
}

export function add(data) {
  return Api.post('/manager/offcfg/add', data)
}

export function edit(data) {
  return Api.post('/manager/offcfg/edit', data)
}

export function deleteById(data) {
  return Api.post('/manager/offcfg/deleteById', data)
}

export function check(data) {
  return Api.post('/manager/offcfg/check', data)
}