acdr/acdr-admin/yskj-admin-ui/yskj-admin-ui-mall-uniapp/sheep/api/member/point.js

20 lines
474 B
JavaScript
Raw Normal View History

2024-09-05 14:05:15 +08:00
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;