From fe6136555be3c4c7a07dfc103228a1d10a64e916 Mon Sep 17 00:00:00 2001 From: seaislee1209 Date: Mon, 2 Mar 2026 21:06:11 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20JWT=20token=20=E6=9C=89=E6=95=88?= =?UTF-8?q?=E6=9C=9F=E4=BB=8E=2024=20=E5=B0=8F=E6=97=B6=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=2090=20=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index 4d0cfc3..c7184b5 100644 --- a/backend/config.py +++ b/backend/config.py @@ -18,7 +18,7 @@ else: # JWT 认证 SECRET_KEY = os.getenv("SECRET_KEY", "airlabs-project-secret-key-change-in-production") ALGORITHM = "HS256" -ACCESS_TOKEN_EXPIRE_MINUTES = 60 * 24 # 24 小时 +ACCESS_TOKEN_EXPIRE_MINUTES = 60 * 24 * 90 # 90 天 # CORS CORS_ORIGINS = os.getenv("CORS_ORIGINS", "*").split(",")