Commit cd4910fb authored by junmeng huang's avatar junmeng huang
Browse files

fix(auth): 延长 JWT 有效期并支持按天解析时长

access token 15m -> 24h,refresh token 168h -> 720h,避免使用中频繁掉线。

parseDuration 此前不认识 "d"(天)单位,像 "7d"/"30d" 会被判为非法并静默
回落到默认值;补充按天解析,并为各调用点传入各自的 fallback。

同时 LaTeX 编译改为跑两遍,让 \pageref{LastPage}、目录和交叉引用能解析出
最终页码,超时相应从 120s 放宽到 240s。

模板类型新增 clinical / ethics 两个常量。
parent 99f80a72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment