|
|
@@ -188,16 +188,13 @@ export default {
|
|
|
},
|
|
|
getSuccess () {
|
|
|
let that = this
|
|
|
- // #ifdef APP-PLUS
|
|
|
that.pageTo({ url: '/pagesPurchase/particulars?id=' + that.pageId, type: 2 })
|
|
|
- // #endif
|
|
|
// #ifdef MP-WEIXIN
|
|
|
if(this.getDictionariesInfo && this.getDictionariesInfo.subscribeMessage && this.getDictionariesInfo.subscribeMessage == 1 && this.getDictionariesInfo.hdMiniMessage && this.getDictionariesInfo.hdMiniMessage.cgSuccess && this.getDictionariesInfo.hdMiniMessage.remindHdClear && this.getDictionariesInfo.hdMiniMessage.giveCoupon){
|
|
|
uni.requestSubscribeMessage({
|
|
|
tmplIds: [this.getDictionariesInfo.hdMiniMessage.cgSuccess.msgId,this.getDictionariesInfo.hdMiniMessage.giveCoupon.msgId,this.getDictionariesInfo.hdMiniMessage.remindHdClear.msgId],
|
|
|
success(res) {
|
|
|
console.log(res)
|
|
|
- that.pageTo({ url: '/pagesPurchase/particulars?id=' + that.pageId, type: 2 })
|
|
|
},
|
|
|
fail(err) {
|
|
|
console.log(err)
|
|
|
@@ -206,8 +203,6 @@ export default {
|
|
|
|
|
|
}
|
|
|
})
|
|
|
- }else{
|
|
|
- that.pageTo({ url: '/pagesPurchase/particulars?id=' + that.pageId, type: 2 })
|
|
|
}
|
|
|
// #endif
|
|
|
},
|