| @@ -41,7 +41,9 @@ Page({ | |||||
| avatarUrl: options.avatarUrl, | avatarUrl: options.avatarUrl, | ||||
| nickName: options.nickName, | nickName: options.nickName, | ||||
| }) | }) | ||||
| this.checkUser(options); | |||||
| if (options.orderGroupId){ | |||||
| this.checkUser(options); | |||||
| } | |||||
| }, | }, | ||||
| gotoIndex(){ | gotoIndex(){ | ||||
| wx.reLaunch({ | wx.reLaunch({ | ||||
| @@ -69,9 +69,14 @@ Page({ | |||||
| this.setData({ | this.setData({ | ||||
| paramData: options | paramData: options | ||||
| }) | }) | ||||
| this.getUserInfo() | |||||
| this.getDetail(options); | |||||
| this.checkUser(options) | |||||
| this.getUserInfo(); | |||||
| if (options.orderGroupId){ | |||||
| if (options.orderId && options.couponId){ | |||||
| this.getDetail(options); | |||||
| } | |||||
| this.checkUser(options); | |||||
| } | |||||
| // 关闭来自于左上角的分享 | // 关闭来自于左上角的分享 | ||||
| wx.hideShareMenu() | wx.hideShareMenu() | ||||
| }, | }, | ||||