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

@@ -20,6 +20,7 @@ class ApiAccessLogMiddleware implements MiddlewareInterface
/** 请求头名称(小写) */
private const SENSITIVE_HEADER_NAMES = [
'api-key',
'auth-token',
'token',
'authorization',
@@ -32,6 +33,8 @@ class ApiAccessLogMiddleware implements MiddlewareInterface
'secret',
'signature',
'token',
'api-key',
'api_key',
'auth-token',
'auth_token',
'old_token',