From 0fe0f3b72a58a8d55a5e779fba027e847b06bf67 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 2 Feb 2026 19:24:02 -0800 Subject: [PATCH] =?UTF-8?q?fix(c2c-bot):=20=E6=B0=B4=E5=8D=95=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96=EF=BC=9AdUSDT=E2=86=92=E7=BB=BF?= =?UTF-8?q?=E7=A7=AF=E5=88=86=EF=BC=8C=E6=94=B6=E6=AC=BE=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E2=86=92=E5=AF=B9=E6=96=B9ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 水单图片调整: - "支付金额 (dUSDT)" → "支付金额 (绿积分)" - "收款地址"(显示 Kava 地址)→ "对方ID"(显示卖家账户 ID) - ProofData 接口新增 sellerId 字段(来自 order.makerAccountSequence) - sellerAddress 仍保留在数据结构中,供明细分类账使用 Co-Authored-By: Claude Opus 4.5 --- .../src/application/services/c2c-bot.service.ts | 1 + .../src/application/services/payment-proof.service.ts | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/services/trading-service/src/application/services/c2c-bot.service.ts b/backend/services/trading-service/src/application/services/c2c-bot.service.ts index 3689aad2..74a86d35 100644 --- a/backend/services/trading-service/src/application/services/c2c-bot.service.ts +++ b/backend/services/trading-service/src/application/services/c2c-bot.service.ts @@ -84,6 +84,7 @@ export class C2cBotService { orderNo: order.orderNo, amount: paymentAmount, txHash: transferResult.txHash!, + sellerId: order.makerAccountSequence, sellerAddress: kavaAddress, completedAt: new Date(), }); diff --git a/backend/services/trading-service/src/application/services/payment-proof.service.ts b/backend/services/trading-service/src/application/services/payment-proof.service.ts index 9178ce15..db990164 100644 --- a/backend/services/trading-service/src/application/services/payment-proof.service.ts +++ b/backend/services/trading-service/src/application/services/payment-proof.service.ts @@ -7,6 +7,7 @@ export interface ProofData { orderNo: string; amount: string; txHash: string; + sellerId: string; sellerAddress: string; completedAt: Date; } @@ -73,7 +74,7 @@ export class PaymentProofService { - 支付金额 (dUSDT) + 支付金额 (绿积分) ${this.esc(data.amount)} @@ -83,8 +84,8 @@ export class PaymentProofService { - 收款地址 - ${this.esc(shortAddr)} + 对方ID + ${this.esc(data.sellerId)}