Feat:抽奖2.0(抽奖活动无法正常进入到下一个抽奖活动,购买抽奖商品无法获取到抽奖码)/V2
This commit is contained in:
@@ -1679,7 +1679,7 @@ export default {
|
|||||||
let opened = false
|
let opened = false
|
||||||
try {
|
try {
|
||||||
const res = await checkDrawTime(activityId)
|
const res = await checkDrawTime(activityId)
|
||||||
// opened = this.parseCheckTimeResult(res)
|
opened = this.parseCheckTimeResult(res)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
opened = false
|
opened = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1495,6 +1495,9 @@ export default {
|
|||||||
case "day":
|
case "day":
|
||||||
q.dailyGoodsId = Number(this.activityId)
|
q.dailyGoodsId = Number(this.activityId)
|
||||||
break
|
break
|
||||||
|
case "countyLottery":
|
||||||
|
q.activityId = Number(this.activityId || 0)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
postCartAdd(q).then(function (res) {
|
postCartAdd(q).then(function (res) {
|
||||||
that.isOpen = false
|
that.isOpen = false
|
||||||
|
|||||||
@@ -330,6 +330,9 @@ export default {
|
|||||||
new: 1,
|
new: 1,
|
||||||
uniqueId: currentSelect.unique || ''
|
uniqueId: currentSelect.unique || ''
|
||||||
}
|
}
|
||||||
|
if (this.activityId) {
|
||||||
|
q.activityId = Number(this.activityId)
|
||||||
|
}
|
||||||
postCartAdd(q).then(res => {
|
postCartAdd(q).then(res => {
|
||||||
this.isOpen = false
|
this.isOpen = false
|
||||||
this.attr.cartAttr = false
|
this.attr.cartAttr = false
|
||||||
|
|||||||
Reference in New Issue
Block a user