// 物业管理员
import http from '@/apis/axios'
const api = 'admin/'

export default {
  // 分页查询
  list: (data, params) => http(api + 'channellist', data, 'post', params),
  // 设置状态
  status: (data, params) => http(api + 'channelstatus', data, 'post', params),
  // 更新
  update: (data, params) => http(api + 'channeledit', data, 'post', params),
  // 创建
  create: (data, params) => http(api + 'channeladd', data, 'post', params)
}
