activity.js 619 B

1234567891011121314151617181920
  1. "use strict";
  2. const sheep_request_index = require("../../request/index.js");
  3. const ActivityApi = {
  4. // 获得单个商品,近期参与的每个活动
  5. getActivityListBySpuId: (spuId) => {
  6. return sheep_request_index.request({
  7. url: "/promotion/activity/list-by-spu-id",
  8. method: "GET",
  9. params: {
  10. spuId
  11. }
  12. });
  13. }
  14. };
  15. const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  16. __proto__: null,
  17. default: ActivityApi
  18. }, Symbol.toStringTag, { value: "Module" }));
  19. exports.ActivityApi = ActivityApi;
  20. exports.__vite_glob_0_22 = __vite_glob_0_22;