feat(抽奖api文件): 任务列表api参数调整
This commit is contained in:
parent
eaf8a0786e
commit
0a8798d463
@ -215,9 +215,9 @@ export const receiveRewardBadge = async (data) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取任务列表
|
// 获取任务列表
|
||||||
export const ActTaskList = async () => {
|
export const ActTaskList = async (activityId) => {
|
||||||
try {
|
try {
|
||||||
const response = await get(`/spins/task/list`)
|
const response = await get(`/spins/task/list?activityId=${activityId}`)
|
||||||
return response
|
return response
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Failed to fetch get tickets:', error)
|
console.error('Failed to fetch get tickets:', error)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user