Commit 05594618 by 展昭

update

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