Commit 46e97631 authored by 喻天's avatar 喻天

fix: 修改广州登陆

parent 2f6aaca6
Pipeline #78809 passed with stages
......@@ -127,8 +127,10 @@ class Login {
// 获取手机号
getIpone() {
const self = this;
const accessToken = params.getParams('access_token');
return appService.getUserMobile({
// isTest: true,
access_token: accessToken,
});
}
......@@ -151,7 +153,11 @@ class Login {
this.props.location.pathname.indexOf('noscret') > -1
) {
self.getIpone().then(v => {
if (v.code === '0') {
this.gzlogin(v.data.userMobile);
} else {
this.goLogin();
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment