Commit 05594618 by 展昭

update

parent e43bedd9
Showing with 2 additions and 1 deletions
......@@ -46,7 +46,8 @@ function getAccessToken(authcode) {
}
axios.post(url, qs.stringify(pms)).then(res => {
if (res && res.status) {
accessToken = res.accessToken;
console.log('res=',res);
const accessToken = res.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