point.js 739 B

123456789101112131415161718192021
  1. "use strict";
  2. const sheep_request_index = require("../../request/index.js");
  3. const PointApi = {
  4. // 获得用户积分记录分页
  5. getPointRecordPage: (params) => {
  6. if (params.addStatus === void 0) {
  7. delete params.addStatus;
  8. }
  9. const queryString = Object.keys(params).map((key) => encodeURIComponent(key) + "=" + params[key]).join("&");
  10. return sheep_request_index.request({
  11. url: `/member/point/record/page?${queryString}`,
  12. method: "GET"
  13. });
  14. }
  15. };
  16. const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  17. __proto__: null,
  18. default: PointApi
  19. }, Symbol.toStringTag, { value: "Module" }));
  20. exports.PointApi = PointApi;
  21. exports.__vite_glob_0_6 = __vite_glob_0_6;