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',
|
|
|
|
}),
|
|
|
|
signList: (params) =>
|
|
|
|
request({
|
|
|
|
url: 'activity/signin',
|
|
|
|
method: 'GET',
|
|
|
|
params,
|
|
|
|
}),
|
|
|
|
signAdd: () =>
|
|
|
|
request({
|
|
|
|
url: '/app-api/member/sign-in/record/create',
|
|
|
|
method: 'POST',
|
|
|
|
}),
|
2023-12-14 06:46:38 +00:00
|
|
|
configLise: () =>
|
|
|
|
request({
|
|
|
|
url: '/app-api/member/sign-in/config/list',
|
|
|
|
method: 'GET',
|
|
|
|
}),
|
|
|
|
recordPage: () =>
|
|
|
|
request({
|
|
|
|
url: '/app-api/member/sign-in/record/page',
|
|
|
|
method: 'GET',
|
|
|
|
}),
|
2023-12-13 09:42:12 +00:00
|
|
|
// signAdd: () =>
|
|
|
|
// request({
|
|
|
|
// url: 'activity/signin',
|
|
|
|
// method: 'POST',
|
|
|
|
// }),
|
|
|
|
replenish: (data) =>
|
|
|
|
request({
|
|
|
|
url: 'activity/signin/replenish',
|
|
|
|
method: 'POST',
|
|
|
|
data,
|
|
|
|
}),
|
|
|
|
activity: (id) =>
|
|
|
|
request({
|
|
|
|
url: 'activity/activity/' + id,
|
|
|
|
method: 'GET',
|
|
|
|
}),
|
|
|
|
getSummary: () =>
|
|
|
|
request({
|
|
|
|
url: '/app-api/member/sign-in/record/get-summary',
|
|
|
|
method: 'GET',
|
|
|
|
}),
|
|
|
|
|
|
|
|
};
|