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 db990164..924d54ea 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 @@ -41,22 +41,16 @@ export class PaymentProofService { private buildSvg(data: ProofData): string { const time = data.completedAt.toISOString().replace('T', ' ').slice(0, 19); - const shortTx = data.txHash.length > 20 - ? `${data.txHash.slice(0, 10)}...${data.txHash.slice(-10)}` - : data.txHash; - const shortAddr = data.sellerAddress.length > 20 - ? `${data.sellerAddress.slice(0, 10)}...${data.sellerAddress.slice(-10)}` - : data.sellerAddress; - return ` + return ` - - + + @@ -79,21 +73,16 @@ export class PaymentProofService { - 交易哈希 - ${this.esc(shortTx)} + 对方ID + ${this.esc(data.sellerId)} - 对方ID - ${this.esc(data.sellerId)} - - - - 完成时间 - ${this.esc(time)} + 完成时间 + ${this.esc(time)} - 由系统自动生成 · RWAdurian C2C Bot + 由系统自动生成 · RWAdurian C2C Bot `; }