index.js 631 B

123456789101112131415161718
  1. // 企业客户/供应商账号相关
  2. import http from "@/apis/axios";
  3. const api = "txx/";
  4. export default {
  5. // 列表
  6. list: (data, params) => http(api + "ActGoodList", data, "post", params),
  7. // 兑换链接列表
  8. goodUrlList: (data, params) =>
  9. http(api + "ActGoodUrlList", data, "post", params),
  10. // 兑换链接列表
  11. goodUrlLists: (data, params) =>
  12. http(api + "ActGoodUrlList", data, "post", params),
  13. // 兑换链接删除
  14. delete: (data, params) => http(api + "ActGoodUrlDel", data, "post", params),
  15. // 导入
  16. batchImport: (data, params) =>
  17. http(api + "ActGoodUrlImport", data, "post", params),
  18. };