feat(抽奖api文件): 任务列表api参数调整

This commit is contained in:
hzj 2026-03-18 15:15:02 +08:00
parent eaf8a0786e
commit 0a8798d463

View File

@ -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)