|
|
@@ -88,9 +88,11 @@ class BindMenu extends Component {
|
|
|
schoolId: 1,//学校id暂时写死,后续需要添加选择学校的步骤
|
|
|
headimgurl: decodeURIComponent(this.wxAvatar),
|
|
|
}).then(response => {
|
|
|
+ switchUser({
|
|
|
+ userOpenid: this.openid
|
|
|
+ })()
|
|
|
if (response.data) {
|
|
|
switchUser({
|
|
|
- userOpenid: this.openid,
|
|
|
token: response.data.token ? response.data.token.token : ''
|
|
|
})()
|
|
|
|