acdr-ui/dist/dev/mp-weixin/modules/mall/sheep/api/member/point.js

17 lines
543 B
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";
2024-10-01 09:15:35 +08:00
const modules_mall_sheep_request_index = require("../../request/index.js");
2024-09-19 07:20:14 +08:00
const PointApi = {
// 获得用户积分记录分页
getPointRecordPage: (params) => {
if (params.addStatus === void 0) {
delete params.addStatus;
}
const queryString = Object.keys(params).map((key) => encodeURIComponent(key) + "=" + params[key]).join("&");
2024-10-01 09:15:35 +08:00
return modules_mall_sheep_request_index.request({
2024-09-19 07:20:14 +08:00
url: `/member/point/record/page?${queryString}`,
method: "GET"
});
}
};
exports.PointApi = PointApi;