From f7e2f7f6f2529c46f34fc9ed71e27388b79a3478 Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 26 Dec 2025 02:23:49 -0800 Subject: [PATCH] =?UTF-8?q?fix(wallet-service):=20=E6=B7=BB=E5=8A=A0=20Wal?= =?UTF-8?q?letAccount=20=E7=B1=BB=E5=9E=8B=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/application/services/wallet-application.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/wallet-service/src/application/services/wallet-application.service.ts b/backend/services/wallet-service/src/application/services/wallet-application.service.ts index 9e2b8354..d846c40e 100644 --- a/backend/services/wallet-service/src/application/services/wallet-application.service.ts +++ b/backend/services/wallet-service/src/application/services/wallet-application.service.ts @@ -8,7 +8,7 @@ import { IPendingRewardRepository, PENDING_REWARD_REPOSITORY, } from '@/domain/repositories'; import { PrismaService } from '@/infrastructure/persistence/prisma/prisma.service'; -import { LedgerEntry, DepositOrder, SettlementOrder, WithdrawalOrder, PendingReward, PendingRewardStatus } from '@/domain/aggregates'; +import { LedgerEntry, DepositOrder, SettlementOrder, WithdrawalOrder, PendingReward, PendingRewardStatus, WalletAccount } from '@/domain/aggregates'; import { UserId, Money, Hashpower, LedgerEntryType, AssetType, ChainType, SettleCurrency, } from '@/domain/value-objects'; @@ -1134,7 +1134,7 @@ export class WalletApplicationService { ): Promise { const targetId = allocation.targetId; - let wallet: Wallet | null; + let wallet: WalletAccount | null; // 判断 targetId 是用户账户还是区域账户 if (targetId.startsWith('D')) {