|
|
@ -281,7 +281,9 @@ |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
app.globalData.userInfo = res.return_data; |
|
|
|
app.globalData.userInfo = res.return_data; |
|
|
|
this.user = res.return_data; |
|
|
|
this.user = res.return_data; |
|
|
|
|
|
|
|
if (this.user.hltCardNo) { |
|
|
|
this.getHuiLianTongCardBalance(); |
|
|
|
this.getHuiLianTongCardBalance(); |
|
|
|
|
|
|
|
} |
|
|
|
this.getUserNormalDiscountList(); |
|
|
|
this.getUserNormalDiscountList(); |
|
|
|
uni.setStorage({ |
|
|
|
uni.setStorage({ |
|
|
|
key: "user", |
|
|
|
key: "user", |
|
|
@ -605,7 +607,8 @@ |
|
|
|
app.globalData.storeid = ''; |
|
|
|
app.globalData.storeid = ''; |
|
|
|
app.globalData.storename = ''; |
|
|
|
app.globalData.storename = ''; |
|
|
|
uni.reLaunch({ |
|
|
|
uni.reLaunch({ |
|
|
|
url: '../pay/success/success?id=' + that.couponId |
|
|
|
url: '../pay/success/success?id=' + |
|
|
|
|
|
|
|
that.couponId |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
fail: function(err) { |
|
|
|
fail: function(err) { |
|
|
|