mall-uniapp/sheep/api/activity.js

48 lines
965 B
JavaScript
Raw Normal View History

2023-12-13 03:35:02 +00:00
import request from '@/sheep/request';
export default {
2023-12-13 09:42:12 +00:00
myGroupon: (params) =>
request({
url: 'activity/groupon/myGroupons',
method: 'GET',
params,
}),
getGrouponList: (params) =>
request({
url: 'activity/groupon',
method: 'GET',
params,
}),
grouponDetail: (id) =>
request({
url: 'activity/groupon/' + id,
method: 'GET',
}),
activity: (id) =>
request({
url: 'activity/activity/' + id,
method: 'GET',
}),
2023-12-27 16:17:57 +00:00
getSummary: () =>
request({
url: '/app-api/member/sign-in/record/get-summary',
method: 'GET',
}),
2023-12-21 09:58:15 +00:00
getBargainRecordSummary: () =>
request({
url: '/app-api/promotion/bargain-record/get-summary',
method: 'GET',
}),
getBargainActivityPage: () =>
request({
url: '/app-api/promotion/bargain-activity/page',
method: 'GET',
}),
getBargainActivityDetail: (params) =>
request({
url: '/app-api/promotion/bargain-activity/get-detail',
method: 'GET',
params
}),
2023-12-13 09:42:12 +00:00
};