Commit baaf907a by 展昭

update

parent 657f90ba
Showing with 7 additions and 5 deletions
......@@ -30,9 +30,14 @@ usermemberId 206484 1822782
appid=app_register_id
authcode
测试线账号及参数
appId=70770
userName=13522476236
password=qqxb123456
发布方式
测试线
git push dev
正式线
\ No newline at end of file
找杨哥
\ No newline at end of file
......@@ -46,9 +46,7 @@ function getAccessToken(authcode) {
}
axios.post(url, qs.stringify(pms)).then(res => {
if (res && res.status) {
console.log('res.data=', res.data);
const accessToken = res.data.access_token;
console.log('accessToken=', accessToken);
resolve(accessToken);
}
else {
......@@ -79,7 +77,6 @@ async function getToken(access_token, appid, redirectPath) {
if (res.status == 200) {
const accessToken = res.data.access_token;
localStorage.setItem("token", accessToken);
console.log('redirectPath=', redirectPath);
window.location.href = redirectPath;
}
},
......
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