From 4cbad40d1f849dbf7d92c31a8fc296c6bd0f1f77 Mon Sep 17 00:00:00 2001 From: deploy Date: Sat, 7 Nov 2026 01:07:04 +0000 Subject: [PATCH] =?UTF-8?q?login-gate.js=20=E6=94=B9=E6=9F=A5=E5=8F=AA?= =?UTF-8?q?=E8=AF=BB=E7=9A=84=20auth/status=EF=BC=88=E4=B8=8D=E5=BB=BA?= =?UTF-8?q?=E7=A9=BA=E8=AE=B0=E5=BD=95=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- js/login-gate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;