Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -100,7 +100,6 @@
|
|||||||
computed: {
|
computed: {
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
debugger
|
|
||||||
HWH5.getAuthCode().then(data => {
|
HWH5.getAuthCode().then(data => {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
if(data){
|
if(data){
|
||||||
@@ -117,13 +116,13 @@
|
|||||||
if(res.data){
|
if(res.data){
|
||||||
axios.request({
|
axios.request({
|
||||||
url: 'https://iftappwelink.foton.com.cn/devserver/welink/getUserInfoByAuthCode?code='+code,
|
url: 'https://iftappwelink.foton.com.cn/devserver/welink/getUserInfoByAuthCode?code='+code,
|
||||||
method: 'post',
|
method: 'get',
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if(res.data){
|
if(res.data){
|
||||||
let userName = res.data.access_token;
|
let userName = res.data.username;
|
||||||
if(userName !== undefined && userName !== ""){
|
if(userName !== undefined && userName !== ""){
|
||||||
checkPageNoEncryption({
|
checkPageNoEncryption({
|
||||||
username: userName
|
username: userName
|
||||||
|
|||||||
Reference in New Issue
Block a user