feat: There is no way the, weblink 免登陆

This commit is contained in:
super_liu
2022-06-08 16:37:20 +08:00
parent fce741acfc
commit 3caaa0fa93
+2 -3
View File
@@ -100,7 +100,6 @@
computed: {
},
mounted () {
debugger
HWH5.getAuthCode().then(data => {
console.log(data)
if(data){
@@ -117,13 +116,13 @@
if(res.data){
axios.request({
url: 'https://iftappwelink.foton.com.cn/devserver/welink/getUserInfoByAuthCode?code='+code,
method: 'post',
method: 'get',
headers: {
"Content-Type": "application/json",
},
}).then(res => {
if(res.data){
let userName = res.data.access_token;
let userName = res.data.username;
if(userName !== undefined && userName !== ""){
checkPageNoEncryption({
username: userName