index.js 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // 物业管理员
  2. import http from "@/apis/axios";
  3. const api = "admin/";
  4. export default {
  5. // 分页查询
  6. list: (data, params) => http(api + "goodlistByYz", data, "post", params),
  7. // 添加
  8. add: (data, params) => http(api + "gooduponline", data, "post", params),
  9. // 详情
  10. detail: (data, params) => http("youzan/yz_goodup_info", data, "post", params),
  11. // 产品部门审核
  12. goodupexam: (data, params) => http("youzan/yz_check_exam_status", data, "post", params),
  13. // 更新状态
  14. status: (data, params) => http(api + "goodupexam", data, "post", params),
  15. // 定价岗定价
  16. ladderOne: (data, params) => http(api + "goodupeditladder", data, "post", params),
  17. // 删除
  18. delete: (data, params) => http(api + "gooddel", data, "post", params),
  19. // 重新发起审核流程
  20. againonline: (data, params) => http("youzan/yz_goodup_again", data, "post", params),
  21. // 获取系统售价
  22. goodupprice: (data, params) => http(api + "platprice", data, "post", params),
  23. // 复制
  24. copy: (data, params) => http(api + "goodcopy", data, "post", params),
  25. // 获取全部分类
  26. catAll: (data, params) => http(api + "catAll", data, "post", params),
  27. // 获取全部品牌
  28. brandAll: (data, params) => http(api + "brandall", data, "post", params),
  29. // 获取全部供应商账号
  30. supplierAll: (data, params) => http(api + "supplierall", data, "post", params),
  31. // 商品种类ID换取规格值
  32. specByCat: (data, params) => http(api + "SpecByCat", data, "post", params),
  33. // 规格属性值新建
  34. specinfoadd: (data, params) => http(api + "specinfoadd", data, "post", params),
  35. //导出线上商品
  36. exportgood: (data, params) => http(api + "exportgood", data, "post", params),
  37. //商品上线审核时、驳回重新审核
  38. goodupreject: (data, params) => http(api + "goodupreject", data, "post", params),
  39. // 异常原因列表
  40. resultlist: (data, params) => http(api + "resultlist", data, "post", params),
  41. //商品下线
  42. yz_goodoff: (data, params) => http("youzan/yz_goodoff", data, "post", params),
  43. //获取全部标签
  44. tag_list: (data, params) => http("youzan/yz_tag_list", data, "post", params),
  45. addCouponUrl: (data, params) => http("/txx/txGood/AddCouponUrl", data, "post", params),
  46. txxList: (data, params) => http("/txx/txGood/list", data, "post", params),
  47. };