18 lines
551 B
JavaScript
18 lines
551 B
JavaScript
|
"use strict";
|
||
|
const sheep_request_index = require("../../request/index.js");
|
||
|
const PointApi = {
|
||
|
// 获得用户积分记录分页
|
||
|
getPointRecordPage: (params) => {
|
||
|
if (params.addStatus === void 0) {
|
||
|
delete params.addStatus;
|
||
|
}
|
||
|
const queryString = Object.keys(params).map((key) => encodeURIComponent(key) + "=" + params[key]).join("&");
|
||
|
return sheep_request_index.request({
|
||
|
url: `/member/point/record/page?${queryString}`,
|
||
|
method: "GET"
|
||
|
});
|
||
|
}
|
||
|
};
|
||
|
exports.PointApi = PointApi;
|
||
|
//# sourceMappingURL=point.js.map
|