// 物业管理员
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "catadd", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "delete", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "goodcat", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "catinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "catsave", data, "post", params),
  // 审核
  check: (data, params) => http(api + "catexam", data, "post", params),
  // 获取全部规格
  specAll: (data, params) => http(api + "specall", data, "post", params),
  // 获取全部分类
  catAll: (data, params) => http(api + "catAll", data, "post", params),
  // 修改状态
  status: (data, params) => http(api + 'catstatus', data, 'post', params),
  // 提交审核申请
  again: (data, params) => http(api + 'catagain', data, 'post', params),
  // 审核人提交审核结果
  exam: (data, params) => http(api + 'catexam', data, 'post', params),
  // 分类利率设置
  catarateadd: (data, params) => http(api + 'catarateadd', data, 'post', params),

};
