修改微信重新授权的问题

This commit is contained in:
Gao xiaosong
2020-09-20 12:02:08 +08:00
parent 6a33c4ec80
commit 9065ef44ba

View File

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