This commit is contained in:
yixu
2025-09-14 19:15:51 +08:00
parent e26aae5805
commit ac5d579a8c
3 changed files with 25 additions and 23 deletions

View File

@@ -119,21 +119,21 @@ watch(() => props.show, async (newVal) => {
shakeTimeline.play()
//TODO: 延时测试,上限删掉
await Sleep(2000)
// await Sleep(2000)
shakeTimeline.pause()
// const lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
const lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
// TODO: 测试数据
const lottteryResult = {
res: { status: 200 },
json: {
id: 0,
code: "HEIGAI_42_GPJ_500ML",
prize_code: 'HEIGAI_42_GPJ_500ML',
coupon_type: "scene",
name: "泸州老窖的一瓶酒"
}
}
// const lottteryResult = {
// res: { status: 200 },
// json: {
// id: 0,
// code: "HEIGAI_42_GPJ_500ML",
// prize_code: 'HEIGAI_42_GPJ_500ML',
// coupon_type: "scene",
// name: "泸州老窖的一瓶酒"
// }
// }
if (lottteryResult.res.status !== 200) {
emit('close')