|
|
|
@ -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) { |
|
|
|
|