// 企业客户/供应商账号相关
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "titlecreate", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "titledelete", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "titlelist", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "titleinfo", data, "post", params),
  // 更改
  update: (data, params) => http(api + "titleedit", data, "post", params),
  // 更新状态
  status: (data, params) => http(api + "titlestatus", data, "post", params),

};
