Merge branch 'develop' into FOTON

This commit is contained in:
super_liu
2022-06-08 16:29:44 +08:00
+13 -1
View File
@@ -114,7 +114,15 @@
"Content-Type": "application/json",
},
}).then(res => {
if(res.code){
if(res.data){
axios.request({
url: 'https://iftappwelink.foton.com.cn/devserver/welink/getUserInfoByAuthCode?code='+code,
method: 'post',
headers: {
"Content-Type": "application/json",
},
}).then(res => {
if(res.data){
let userName = res.data.access_token;
if(userName !== undefined && userName !== ""){
checkPageNoEncryption({
@@ -133,6 +141,10 @@
}else {
// window.location.href = ssoLogoutUrlDev
}
}else {
this.logout()
}
})
}
})
}