From 0a8798d463a223c8d934c26fc1141269691c1ce4 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Wed, 18 Mar 2026 15:15:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8A=BD=E5=A5=96api=E6=96=87=E4=BB=B6):?= =?UTF-8?q?=20=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8api=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/lottery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)