| "content-type": "application/x-www-form-urlencoded", | "content-type": "application/x-www-form-urlencoded", | ||||
| "VERSION": '100', | "VERSION": '100', | ||||
| "OPENID": this.globalData.openid | "OPENID": this.globalData.openid | ||||
| // "OPENID": "o4h7Y5ReAtr8SiEYzRWgJGu82UiI" | |||||
| }, | }, | ||||
| success: function (re) { | success: function (re) { | ||||
| // if (re.data.code == -1002) { | // if (re.data.code == -1002) { | ||||
| method: methods, | method: methods, | ||||
| header: { | header: { | ||||
| "OPENID": this.globalData.openid, | "OPENID": this.globalData.openid, | ||||
| // "OPENID": "o4h7Y5ReAtr8SiEYzRWgJGu82UiI", | |||||
| "VERSION": '100' | "VERSION": '100' | ||||
| }, | }, | ||||
| success: function (re) { | success: function (re) { |
| }else if(app.globalData.certificationState==4){ | }else if(app.globalData.certificationState==4){ | ||||
| this.setData({titleContent:'尊敬的星探顾问'}) | this.setData({titleContent:'尊敬的星探顾问'}) | ||||
| } | } | ||||
| if(app.globalData.userInfoData==null){ | |||||
| this.setData({iconShow:true}) | |||||
| }else{ | |||||
| console.log(app.globalData.userInfoData); | |||||
| if(app.globalData.userInfoData && app.globalData.userInfoData.avatarUrl){ | |||||
| this.setData({iconShow:false}) | this.setData({iconShow:false}) | ||||
| }else{ | |||||
| this.setData({iconShow:true}) | |||||
| } | } | ||||
| this.setData({isbtn: true}) | this.setData({isbtn: true}) | ||||
| // wx.navigateTo({ | // wx.navigateTo({ |