From 95cb3510aae9da8835c281c09e45fbb3e1baaff8 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 6 Jan 2026 22:38:50 -0800 Subject: [PATCH] =?UTF-8?q?fix(reward-service):=20=E4=BF=AE=E5=A4=8D=20get?= =?UTF-8?q?ExpiredRewardsEntries=20=E7=9A=84=20userId=20=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 bigint 类型的 userId 转换为 number 类型以匹配返回类型定义 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../src/application/services/reward-application.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/reward-service/src/application/services/reward-application.service.ts b/backend/services/reward-service/src/application/services/reward-application.service.ts index b2ee46be..af7bb5b9 100644 --- a/backend/services/reward-service/src/application/services/reward-application.service.ts +++ b/backend/services/reward-service/src/application/services/reward-application.service.ts @@ -1530,7 +1530,7 @@ export class RewardApplicationService { entries: entries.map(entry => ({ id: entry.id.toString(), accountSequence: entry.accountSequence, - userId: entry.userId, + userId: Number(entry.userId), sourceOrderId: entry.sourceOrderNo, rightType: entry.rightType, usdtAmount: Number(entry.usdtAmount),