Feat:抽奖2.0(抽奖活动无法正常进入到下一个抽奖活动,购买抽奖商品无法获取到抽奖码)/V2

This commit is contained in:
linxi
2026-04-28 18:46:01 +08:00
parent 9bf4febea6
commit a14d89efff
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1679,7 +1679,7 @@ export default {
let opened = false
try {
const res = await checkDrawTime(activityId)
// opened = this.parseCheckTimeResult(res)
opened = this.parseCheckTimeResult(res)
} catch (e) {
opened = false
}
+3
View File
@@ -1495,6 +1495,9 @@ export default {
case "day":
q.dailyGoodsId = Number(this.activityId)
break
case "countyLottery":
q.activityId = Number(this.activityId || 0)
break
}
postCartAdd(q).then(function (res) {
that.isOpen = false
+3
View File
@@ -330,6 +330,9 @@ export default {
new: 1,
uniqueId: currentSelect.unique || ''
}
if (this.activityId) {
q.activityId = Number(this.activityId)
}
postCartAdd(q).then(res => {
this.isOpen = false
this.attr.cartAttr = false