1.对接平台接口新增api-key参数

This commit is contained in:
2026-05-25 09:31:24 +08:00
parent 9a43e1d8f2
commit cde5a851e5
10 changed files with 105 additions and 11 deletions

View File

@@ -4,6 +4,9 @@ declare(strict_types=1);
return [
'ACCOUNT_DISABLED' => 'Account is disabled and cannot log in',
'API_AUTH_TOKEN_SECRET is not configured' => 'API_AUTH_TOKEN_SECRET is not configured',
'API_KEY is not configured' => 'API_KEY is not configured',
'Please provide api-key' => 'Please provide api-key',
'Invalid api-key' => 'Invalid api-key',
'AUTH_TOKEN_EXPIRED' => 'auth-token expired',
'AUTH_TOKEN_FORMAT_INVALID' => 'auth-token format invalid',
'AUTH_TOKEN_INVALID' => 'auth-token invalid',

View File

@@ -4,6 +4,9 @@ declare(strict_types=1);
return [
'ACCOUNT_DISABLED' => '账号已被禁用,无法登录',
'API_AUTH_TOKEN_SECRET is not configured' => '服务端未配置 API_AUTH_TOKEN_SECRET',
'API_KEY is not configured' => '服务端未配置 API_KEY',
'Please provide api-key' => '请携带 api-key',
'Invalid api-key' => 'api-key 无效',
'AUTH_TOKEN_EXPIRED' => 'auth-token 已过期',
'AUTH_TOKEN_FORMAT_INVALID' => 'auth-token 格式无效',
'AUTH_TOKEN_INVALID' => 'auth-token 无效',