diff --git a/src/api/lottery.js b/src/api/lottery.js index 9a2d3c4..0c44076 100644 --- a/src/api/lottery.js +++ b/src/api/lottery.js @@ -215,9 +215,9 @@ export const receiveRewardBadge = async (data) => { } // 获取任务列表 -export const ActTaskList = async () => { +export const ActTaskList = async (activityId) => { try { - const response = await get(`/spins/task/list`) + const response = await get(`/spins/task/list?activityId=${activityId}`) return response } catch (error) { console.error('Failed to fetch get tickets:', error)