数据库备份
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -109,7 +109,6 @@ Route::post('/api/account/retrievePassword', [\app\api\controller\Account::class
|
||||
Route::post('/api/ems/send', [\app\api\controller\Ems::class, 'send']);
|
||||
|
||||
// api/v1 鉴权
|
||||
Route::get('/api/v1/authToken', [\app\api\controller\v1\Auth::class, 'authToken']);
|
||||
Route::get('/api/v1/temLogin', [\app\api\controller\v1\Auth::class, 'temLogin']);
|
||||
|
||||
// api/v1 PlayX 积分商城
|
||||
|
||||
Reference in New Issue
Block a user