feat: 更新活动参与数据结构,移除 choices 字段,新增 channel、count 和 slot_index 字段
This commit is contained in:
parent
5cd4e77d07
commit
5c89355469
@ -380,7 +380,9 @@ async function onPaymentConfirm(paymentData) {
|
||||
const joinData = {
|
||||
activity_id: Number(activityId.value),
|
||||
issue_id: Number(currentIssueId.value),
|
||||
choices: selectedChoices.value.map(c => Number(c.id || c.number)),
|
||||
channel: 'miniapp',
|
||||
count: selectedChoices.value.length,
|
||||
slot_index: selectedChoices.value.map(c => Number(c.id || c.number)),
|
||||
coupon_id: paymentData.coupon_id || 0,
|
||||
item_card_id: paymentData.item_card_id || 0,
|
||||
use_game_pass: paymentData.use_game_pass || false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user