Commit f593fc0f by 展昭

update

parent 05594618
Showing with 2 additions and 2 deletions
......@@ -46,8 +46,8 @@ function getAccessToken(authcode) {
}
axios.post(url, qs.stringify(pms)).then(res => {
if (res && res.status) {
console.log('res=',res);
const accessToken = res.accessToken;
const accessToken = res.data.accessToken;
console.log('accessToken=',accessToken);
resolve(accessToken);
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment