import http from "@/apis/axios";
const api = "admin/";
export default {
  // 列表
  list: (data, params) => http(api + "businesslist", data, "post", params),
  // 新建
  add: (data, params) => http(api + "businesscreate", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "businessdel", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "businesssinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "businessedit", data, "post", params),
  // 状态
  status: (data, params) => http(api + "businessstatus", data, "post", params),
  // 企业性质
  businesstitle: (data, params) => http(api + "businesstitle", data, "post", params),
};
