|
|
@@ -29,7 +29,6 @@ Page({ |
|
|
|
* 生命周期函数--监听页面加载 |
|
|
|
*/ |
|
|
|
onLoad: function (options) { |
|
|
|
console.log(options,22) |
|
|
|
this.setData({ |
|
|
|
paramData:options, |
|
|
|
couponChannelId: options.couponChannelId, |
|
|
@@ -343,15 +342,16 @@ Page({ |
|
|
|
* 将值传到用户手机号授权的页面 |
|
|
|
* |
|
|
|
*/ |
|
|
|
console.log(that.data, 444) |
|
|
|
wx.redirectTo({ |
|
|
|
url: "/pages/getphoneInfo/index?path=spell&couponChannelId=" + |
|
|
|
that.data.couponChannelId + '&couponId=' + that.data.couponId + '&orderId=' + that.data.orderId + '&avatarUrl=' + that.data.avatarUrl + '&nickName=' + that.data.nickName |
|
|
|
that.data.couponChannelId + '&orderGroupId=' + that.data.orderGroupId+ '&couponId=' + that.data.couponId + '&orderId=' + that.data.orderId + '&avatarUrl=' + that.data.avatarUrl + '&nickName=' + that.data.nickName |
|
|
|
}); |
|
|
|
} else if (err.code == 11006) { |
|
|
|
// 用户手机已加密 |
|
|
|
wx.redirectTo({ |
|
|
|
url: "/pages/phoneinput/phoneinput?path=spell&couponChannelId=" + |
|
|
|
that.data.couponChannelId + '&couponId=' + that.data.couponId + '&orderId=' + that.data.orderId + '&avatarUrl=' + that.data.avatarUrl + '&nickName=' + that.data.nickName |
|
|
|
that.data.couponChannelId + '&orderGroupId=' + that.data.orderGroupId + '&couponId=' + that.data.couponId + '&orderId=' + that.data.orderId + '&avatarUrl=' + that.data.avatarUrl + '&nickName=' + that.data.nickName |
|
|
|
}); |
|
|
|
} else { |
|
|
|
wx.showToast({ |
|
|
|