| @@ -78,7 +78,7 @@ Page({ | |||||
| openid = this.data.userInfo.openid | openid = this.data.userInfo.openid | ||||
| } | } | ||||
| wx.navigateTo({ | wx.navigateTo({ | ||||
| url: '/pages/out/index?index=1&openid=' + openid+ '&gameid=1&type=1&url='+url | |||||
| url: '/pages/out/index?index=1&userid=' + openid+ '&gameid=1&type=1&url='+url | |||||
| }) | }) | ||||
| }, | }, | ||||
| saoma() { | saoma() { | ||||
| @@ -83,7 +83,7 @@ Page({ | |||||
| }, | }, | ||||
| leave(){ | leave(){ | ||||
| wx.navigateTo({ | wx.navigateTo({ | ||||
| url: '/pages/out/index?index=1&openid='+ this.data.userInfo.openid+'&gameid=1'+'&type=2&url=' + getApp().globalData.gameurl, | |||||
| url: '/pages/out/index?index=1&userid='+ this.data.userInfo.openid+'&gameid=1'+'&type=2&url=' + getApp().globalData.gameurl, | |||||
| }) | }) | ||||
| }, | }, | ||||
| // 绑定用户头像信息 | // 绑定用户头像信息 | ||||
| @@ -15,7 +15,7 @@ Page({ | |||||
| userid: options.userid, | userid: options.userid, | ||||
| gameid: options.gameid, | gameid: options.gameid, | ||||
| type: options.type, | type: options.type, | ||||
| allurl: options.url +`?openid=${options.openid||0}&gameid=${options.gameid||0}&type=${options.type==2?2:1}` | |||||
| allurl: options.url +`?userid=${options.userid||0}&gameid=${options.gameid||0}&type=${options.type==2?2:1}` | |||||
| }) | }) | ||||
| console.log(this.data.web) | console.log(this.data.web) | ||||
| console.log(this.data.index) | console.log(this.data.index) | ||||
| @@ -16,7 +16,7 @@ Page({ | |||||
| let userInfo = getApp().globalData.userInfo | let userInfo = getApp().globalData.userInfo | ||||
| console.log(userInfo) | console.log(userInfo) | ||||
| wx.navigateTo({ | wx.navigateTo({ | ||||
| url: `/pages/out/index?index=1&openid=${userInfo.openid}&gameid=1&type=2&url=`+ getApp().globalData.gameurl | |||||
| url: `/pages/out/index?index=1&userid=${userInfo.openid}&gameid=1&type=2&url=`+ getApp().globalData.gameurl | |||||
| }) | }) | ||||
| }, | }, | ||||
| /** | /** | ||||