chore: 首次提交 - 关联 GitHub fnvtk/MBTI_wang

Made-with: Cursor
This commit is contained in:
卡若
2026-03-17 12:39:38 +08:00
commit eb510304c0
259 changed files with 60464 additions and 0 deletions

13
api/config/jwt.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
// JWT配置
return [
// JWT密钥请在生产环境修改
'secret' => env('jwt.secret', 'mbti_jwt_secret_key_2024_change_in_production'),
// Token过期时间默认7天
'expire' => env('jwt.expire', 86400 * 7),
// Token刷新时间默认6天
'refresh_expire' => env('jwt.refresh_expire', 86400 * 6),
];