|
|
@ -335,6 +335,10 @@ |
|
|
key: 'userInfo', |
|
|
key: 'userInfo', |
|
|
data: res.data.data.userInfo, |
|
|
data: res.data.data.userInfo, |
|
|
}) |
|
|
}) |
|
|
|
|
|
uni.setStorage({ |
|
|
|
|
|
key: 'platform', |
|
|
|
|
|
data: res.data.data.platform, |
|
|
|
|
|
}) |
|
|
this.userInfo = res.data.data.userInfo; |
|
|
this.userInfo = res.data.data.userInfo; |
|
|
console.log('this.userInfo',this.userInfo) |
|
|
console.log('this.userInfo',this.userInfo) |
|
|
uni.setStorage({ |
|
|
uni.setStorage({ |
|
|
@ -342,7 +346,8 @@ |
|
|
data: res.data.data.access_token |
|
|
data: res.data.data.access_token |
|
|
}) |
|
|
}) |
|
|
let headers = { |
|
|
let headers = { |
|
|
TiktokAuthorization: res.data.data.access_token |
|
|
TiktokAuthorization: res.data.data.access_token, |
|
|
|
|
|
platform: res.data.data.platform |
|
|
} |
|
|
} |
|
|
this.checkUserDownload(headers) |
|
|
this.checkUserDownload(headers) |
|
|
callBack && callBack(headers) |
|
|
callBack && callBack(headers) |
|
|
|