zyejMAll-mobile/sheep/api/member/point.js
2024-08-07 21:40:27 +08:00

20 lines
476 B
JavaScript

import request from '@/sheep/request';
const PointApi = {
// 获得用户积分记录分页
getPointRecordPage: (params) => {
if (params.addStatus === undefined) {
delete params.addStatus;
}
const queryString = Object.keys(params)
.map((key) => encodeURIComponent(key) + '=' + params[key])
.join('&');
return request({
url: `/member/point/record/page?${queryString}`,
method: 'GET',
});
},
};
export default PointApi;