feat(gateway): 接入接口22与账号鉴权测试页

This commit is contained in:
xsl
2026-11-09 21:42:16 +08:00
parent 5eca74c9c0
commit 6d003dbf80
8 changed files with 588 additions and 12 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ async def client_auth_error(credentials: HTTPAuthorizationCredentials | None = S
@router.get("/check", summary="验证当前访问令牌")
async def check(auth_error=Depends(client_auth_error)):
"""检查与 42、52、72 相同的 Bearer 令牌,无需提交图片。"""
"""检查受保护业务接口使用的 Bearer 令牌。"""
if auth_error is not None:
return auth_error
return _response(0, "访问令牌有效")