数据库备份

This commit is contained in:
2026-04-21 16:00:02 +08:00
parent 7b9187fb62
commit ca0a9e75e0
42 changed files with 1178 additions and 438 deletions

View File

@@ -81,20 +81,12 @@ return [
'cdn_url' => '',
// 内容分发网络URL参数将自动添加 `?`,之后拼接到 cdn_url 的结尾(例如 `imageMogr2/format/heif`
'cdn_url_params' => '',
// 代理鉴权配置(/api/v1/authToken
'agent_auth' => [
// agent_id => secret 映射
'agents' => [
// 'agent_001' => 'your_secret_key',
],
// JWT 签名密钥(留空则使用 token.key建议 AGENT_AUTH_JWT_SECRET 注入
'jwt_secret' => strval(env('AGENT_AUTH_JWT_SECRET', '')),
// 是否启用 H5 临时登录接口 /api/v1/temLogin
'temp_login_enable' => true,
// Token 有效期(秒),默认 24 小时
'token_expire' => 86400,
// H5 临时登录配置(/api/v1/temLogin
'temp_login' => [
// 是否启用 H5 临时登录接口
'enable' => true,
// 临时登录 token 有效期(秒),默认 1 天
'temp_login_expire' => 86400,
'expire' => 86400,
],
// 版本号
'version' => 'v2.3.6',