Feat:抽奖2.0(细节调整,查漏补缺)
This commit is contained in:
@@ -49,6 +49,18 @@ export function getActivityWinRecord(activityId) {
|
||||
return request.get('/draw/activityWinRecord', { activityId })
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取最新中奖名单
|
||||
* @param activityId 抽奖活动ID(可选)
|
||||
*/
|
||||
export function getDrawLatestWinners(activityId) {
|
||||
const params = {}
|
||||
if (activityId !== undefined && activityId !== null && activityId !== '') {
|
||||
params.activityId = activityId
|
||||
}
|
||||
return request.get('/draw/latestWinners', params)
|
||||
}
|
||||
|
||||
/**
|
||||
* 历史抽奖活动列表
|
||||
* 用于在中奖名单页面切换历史抽奖活动
|
||||
|
||||
Reference in New Issue
Block a user