// 物业管理员
import http from "@/apis/axios";
const api = "admin/supplierStore/";
export default {
  // 添加
  add: (data, params) => http(api + "add", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "del", data, "post", params),
  // 分页查询
  list: (data, params) => http(api + "index", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "edit", data, "post", params),
  // 更改
  update: (data, params) =>
    http("admin/supplierStoreDetail/edit", data, "post", params),
  // 更新状态
  status: (data, params) => http(api + "status", data, "post", params),
};
