// 企业客户/供应商账号相关
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "customeradd", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "gooddel", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "customerlist", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "customerinfo", data, "post", params),
  // 更改
  update: (data, params) => http(api + "customersave", data, "post", params),
  // 更新状态
  status: (data, params) => http(api + "customerstatus", data, "post", params),
  // 提交审核申请
  again: (data, params) => http(api + 'customeragain', data, 'post', params),
  // 审核人提交审核结果
  exam: (data, params) => http(api + 'customerexam', data, 'post', params),
  // 获取全部企业
  companyall: (data, params) => http(api + "companyall", data, "post", params),


};
