feat: There is no way the, weblink 免登陆
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user