Browse Source

修改微信重新授权的问题

master
Gao xiaosong 4 years ago
parent
commit
9065ef44ba
  1. 6
      libs/wechat.js

6
libs/wechat.js

@ -167,9 +167,9 @@ export function auth(code) {
}
export function toAuth() {
// wechat().then(wx => {
location.href = getAuthUrl("wxc061dee8806ff712");
// });
wechat().then(wx => {
location.href = getAuthUrl(appId);
});
}
function getAuthUrl(appId) {

Loading…
Cancel
Save