|
|
@@ -49,7 +49,7 @@ class BindMenu extends Component {
|
|
|
})
|
|
|
window.location.href =
|
|
|
'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' +
|
|
|
- this.paramId + '&redirect_uri=https%3a%2f%2fschool-api.ubtob.com%2fapi%2fschool%2fwxSchool%2fuser%2fuserLogin&response_type=code&scope=snsapi_userinfo&state=' +
|
|
|
+ this.paramId + '&redirect_uri=https%3a%2f%2fschool-api.ydyhz.com%2fapi%2fschool%2fwxSchool%2fuser%2fuserLogin&response_type=code&scope=snsapi_userinfo&state=' +
|
|
|
this.paramId + '&connect_redirect=1#wechat_redirect'
|
|
|
}
|
|
|
|
|
|
@@ -61,7 +61,7 @@ class BindMenu extends Component {
|
|
|
this.wxAvatar = this.props.match.params.wxAvatar
|
|
|
|
|
|
//清除用户信息
|
|
|
- clearUserInfo()()
|
|
|
+ clearKserInfo()()
|
|
|
|
|
|
switchUser({
|
|
|
userAvatar: decodeURIComponent(this.wxAvatar),
|