index.js 1008 B

1234567891011121314151617181920212223
  1. // 物业管理员
  2. import http from "@/apis/axios";
  3. const api = "admin/";
  4. export default {
  5. // 添加
  6. add: (data, params) => http(api + "brandcreate", data, "post", params),
  7. // 删除
  8. delete: (data, params) => http(api + "branddel", data, "post", params),
  9. // 分页查询
  10. list: (data, params) => http(api + "brandlist", data, "post", params),
  11. // 更新
  12. update: (data, params) => http(api + "confirmimportdata", data, "post", params),
  13. // 修改状态
  14. status: (data, params) => http(api + 'brandstatus', data, 'post', params),
  15. // 详情
  16. detail: (data, params) => http(api + "orderimportinfo", data, "post", params),
  17. // 线上商品详情
  18. good_detail: (data, params) => http(api + "getonlinegoodinfo", data, "post", params),
  19. // 获取销售渠道备选数据
  20. sourceList: (data, params) => http(api + "getsourcedata", data, "post", params),
  21. //验证售价
  22. salegetprice: (data, params) => http(api + "salegetprice", data, "post", params),
  23. };