// 企业客户/供应商账号相关
import http from "@/apis/axios";
const api = "txx/";
export default {
  // 列表
  list: (data, params) => http(api + "Actlist", data, "post", params),
  // 新建
  add: (data, params) => http(api + "ActAdd", data, "post", params),
  // 详情
  detail: (data, params) => http(api + "ActInfo", data, "post", params),
  // 详情
  details: (data, params) => http(api + "ActInfo", data, "post", params),
  // 更新库存
  update: (data, params) => http(api + "ActEdit", data, "post", params),
  // 商品添加
  goodAdd: (data, params) => http(api + "ActGoodAdd", data, "post", params),
  // 商品编辑
  goodUpdate: (data, params) => http(api + "ActGoodEdit", data, "post", params),
  // 删除
  delete: (data, params) => http(api + "ActDel", data, "post", params),
  // 活动商品列表
  goodList: (data, params) => http(api + "ActGoodList", data, "post", params),
  // 活动商品列表
  goodLists: (data, params) => http(api + "ActGoodList", data, "post", params),
};
