bargain.js 953 B

1234567891011121314151617181920212223242526272829303132
  1. "use strict";
  2. const sheep_request_index = require("../../request/index.js");
  3. const BargainApi = {
  4. // 获得砍价记录的概要信息
  5. getBargainRecordSummary: () => {
  6. return sheep_request_index.request({
  7. url: "/promotion/bargain-record/get-summary",
  8. method: "GET"
  9. });
  10. },
  11. // 获得砍价活动分页
  12. getBargainActivityPage: () => {
  13. return sheep_request_index.request({
  14. url: "/promotion/bargain-activity/page",
  15. method: "GET"
  16. });
  17. },
  18. // 获得砍价活动详情
  19. getBargainActivityDetail(params) {
  20. return sheep_request_index.request({
  21. url: "/promotion/bargain-activity/get-detail",
  22. method: "GET",
  23. params
  24. });
  25. }
  26. };
  27. const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  28. __proto__: null,
  29. default: BargainApi
  30. }, Symbol.toStringTag, { value: "Module" }));
  31. exports.BargainApi = BargainApi;
  32. exports.__vite_glob_0_24 = __vite_glob_0_24;