// 供应商仓库管理-吴广广
import http from "@/apis/axios";
const api = "admin/";
export default {
  // 添加
  add: (data, params) => http(api + "wareadd", data, "post", params),

  // 分页查询
  list: (data, params) => http(api + "warelist", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "wareinfo", data, "post", params),
  // 更新
  update: (data, params) => http(api + "waresave", data, "post", params),
  // 修改状态
  status: (data, params) => http(api + "warestatus", data, "post", params),
    // 删除
  delete: (data, params) => http(api + "waredel", data, "post", params),
};
   