diff --git a/js/login-gate.js b/js/login-gate.js index a659c71..20807e9 100644 --- a/js/login-gate.js +++ b/js/login-gate.js @@ -45,7 +45,7 @@ /* 和服务器对一次(在别的应用重新登录过 / 在别处退出过,本机标记会过期) */ if (O) { - fetch('/api/mp/public/auth/profile?openid=' + encodeURIComponent(O)) + fetch('/api/mp/public/auth/status?openid=' + encodeURIComponent(O)) /* 只读,查不到不建记录 */ .then(function (r) { return r.ok ? r.json() : null; }) .then(function (j) { if (!j || j.code !== 200 || !j.result) return;