From fd48d35f8cd5d694884e78f49dcdfa6e59325f78 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Feb 2026 00:28:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=A3=9E=E4=B9=A6?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=9B=9E=E8=B0=83=E5=9C=B0=E5=9D=80=E4=B8=BA?= =?UTF-8?q?=E5=85=AC=E7=BD=91=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 使用 https://xsm.dev.hnxinyouhe.com/login 作为回调地址 - 确保飞书授权可以正常跳转 Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/login/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/login/index.tsx b/frontend/src/pages/login/index.tsx index 6d53974..d0e2a0d 100644 --- a/frontend/src/pages/login/index.tsx +++ b/frontend/src/pages/login/index.tsx @@ -25,8 +25,8 @@ export default function Login() { const redirectToFeishu = () => { // 飞书应用配置 const appId = 'cli_a8033d607cba500d' - // 当前页面 URL 作为回调地址 - const redirectUri = encodeURIComponent(window.location.origin + '/login') + // 使用公网域名作为回调地址 + const redirectUri = encodeURIComponent('https://xsm.dev.hnxinyouhe.com/login') // 租户密钥(新友合公司) const tenantKey = '14e7bc0fe5985740'