diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index d7974ae..e3501cf 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -281,7 +281,9 @@ if (res.return_code == '000000') { app.globalData.userInfo = res.return_data; this.user = res.return_data; - this.getHuiLianTongCardBalance(); + if (this.user.hltCardNo) { + this.getHuiLianTongCardBalance(); + } this.getUserNormalDiscountList(); uni.setStorage({ key: "user", @@ -605,7 +607,8 @@ app.globalData.storeid = ''; app.globalData.storename = ''; uni.reLaunch({ - url: '../pay/success/success?id=' + that.couponId + url: '../pay/success/success?id=' + + that.couponId }); }, fail: function(err) {