...
|
...
|
@@ -609,9 +609,19 @@ Page(Object.assign({ |
|
|
helpUserName: userInfo.wechat.nickName ? userInfo.wechat.nickName : '',
|
|
|
helpUserImgUrl: userInfo.wechat.avatarUrl ? userInfo.wechat.avatarUrl : '',
|
|
|
limitProductCode: this.data.limitProductCode
|
|
|
}).then(() => {
|
|
|
}).then(result => {
|
|
|
if (result.code === 520) {//此限定商品分享助力只限新客!
|
|
|
wx.hideLoading();
|
|
|
wx.showModal({
|
|
|
title: '提示',
|
|
|
content: result.message,
|
|
|
showCancel: false,
|
|
|
});
|
|
|
} else {
|
|
|
return detailModel.addQueue(this.data.originUid, this.data.activityId, this.getUserWechatId());
|
|
|
}
|
|
|
}).then(result => {
|
|
|
// debugger;
|
|
|
if (result.code === 200) {
|
|
|
|
|
|
yas.report(YB_ASSIST_SUCCESS_L, {
|
...
|
...
|
@@ -632,13 +642,6 @@ Page(Object.assign({ |
|
|
this.setData({
|
|
|
queueSuccess: QUEUE_SUCCESS.FULL
|
|
|
});
|
|
|
} else if (result.code === 520) {//此限定商品分享助力只限新客!
|
|
|
wx.hideLoading();
|
|
|
wx.showModal({
|
|
|
title: '提示',
|
|
|
content: result.message,
|
|
|
showCancel: false,
|
|
|
});
|
|
|
} else {
|
|
|
yas.report(YB_ASSIST_SUCCESS_L, {
|
|
|
ASSIST_RESULT: ASSIST_FAIL,
|
...
|
...
|
@@ -721,6 +724,7 @@ Page(Object.assign({ |
|
|
goQueueList() {
|
|
|
router.go('queueIndex', Object.assign({
|
|
|
actId: this.data.activityId,
|
|
|
isNew: this.data.isNew,
|
|
|
}, this.data.snapData));
|
|
|
},
|
|
|
showError() {
|
...
|
...
|
|