point.js
725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import request from '@/sheep/request';
const PointApi = {
// 查询当前我的积分
getMyPoint: () => {
return request({
url: '/app/integral/getMyPoint',
method: 'get',
});
},
// 获取礼品卡列表
getGiftCardList: () => {
return request({
url: '/app/integral/list',
method: 'get',
custom: {
loadingMsg: '加载中',
},
});
},
// 礼品卡常见问题
getGiftCardQuestion: () => {
return request({
url: '/app/integral/question',
method: 'get',
});
},
// 礼品卡详情
getGiftCardDetail: () => {
return request({
url: '/app/integral/detail',
method: 'get',
});
},
};
export default PointApi;