From 6c78e2200085a3e2b9e3738eb6b7b46485f11d8d Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 5 Jan 2026 06:23:57 -0800 Subject: [PATCH] =?UTF-8?q?fix(authorization):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=81=AB=E6=9F=B4=E4=BA=BA=E6=8E=92=E5=90=8D=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加详细日志显示返回的每条记录的区域信息,便于调试过滤问题。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../services/authorization-application.service.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/backend/services/authorization-service/src/application/services/authorization-application.service.ts b/backend/services/authorization-service/src/application/services/authorization-application.service.ts index 6a7a987a..6076a669 100644 --- a/backend/services/authorization-service/src/application/services/authorization-application.service.ts +++ b/backend/services/authorization-service/src/application/services/authorization-application.service.ts @@ -709,9 +709,15 @@ export class AuthorizationApplicationService { // 按完成数量降序排序 rankings.sort((a, b) => b.completedCount - a.completedCount) + // 详细日志:显示每条记录的区域信息 this.logger.log( - `[getStickmanRanking] 返回 ${rankings.length} 条排名数据`, + `[getStickmanRanking] 返回 ${rankings.length} 条排名数据,请求区域=${regionCode}`, ) + for (const r of rankings) { + this.logger.debug( + `[getStickmanRanking] - ${r.nickname} (${r.accountSequence}): regionCode=${r.regionCode}, completedCount=${r.completedCount}`, + ) + } return rankings }