comment.js 720 B

123456789101112131415161718192021222324252627
  1. "use strict";
  2. const sheep_request_index = require("../../request/index.js");
  3. const CommentApi = {
  4. // 获得商品评价分页
  5. getCommentPage: (spuId, pageNo, pageSize, type) => {
  6. return sheep_request_index.request({
  7. url: "/product/comment/page",
  8. method: "GET",
  9. params: {
  10. spuId,
  11. pageNo,
  12. pageSize,
  13. type
  14. },
  15. custom: {
  16. showLoading: false,
  17. showError: false
  18. }
  19. });
  20. }
  21. };
  22. const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  23. __proto__: null,
  24. default: CommentApi
  25. }, Symbol.toStringTag, { value: "Module" }));
  26. exports.CommentApi = CommentApi;
  27. exports.__vite_glob_0_18 = __vite_glob_0_18;