fix(c2c-bot): 水单显示优化:dUSDT→绿积分,收款地址→对方ID
水单图片调整: - "支付金额 (dUSDT)" → "支付金额 (绿积分)" - "收款地址"(显示 Kava 地址)→ "对方ID"(显示卖家账户 ID) - ProofData 接口新增 sellerId 字段(来自 order.makerAccountSequence) - sellerAddress 仍保留在数据结构中,供明细分类账使用 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
7ee6d633c6
commit
0fe0f3b72a
|
|
@ -84,6 +84,7 @@ export class C2cBotService {
|
|||
orderNo: order.orderNo,
|
||||
amount: paymentAmount,
|
||||
txHash: transferResult.txHash!,
|
||||
sellerId: order.makerAccountSequence,
|
||||
sellerAddress: kavaAddress,
|
||||
completedAt: new Date(),
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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 {
|
|||
|
||||
<line x1="60" y1="175" x2="540" y2="175" stroke="#e2e8f0" stroke-width="1"/>
|
||||
|
||||
<text x="60" y="200" font-family="Noto Sans CJK SC,Noto Sans SC,sans-serif" font-size="13" fill="#64748b">支付金额 (dUSDT)</text>
|
||||
<text x="60" y="200" font-family="Noto Sans CJK SC,Noto Sans SC,sans-serif" font-size="13" fill="#64748b">支付金额 (绿积分)</text>
|
||||
<text x="60" y="228" font-family="Noto Sans CJK SC,Noto Sans SC,sans-serif" font-size="26" font-weight="bold" fill="#1e40af">${this.esc(data.amount)}</text>
|
||||
|
||||
<line x1="60" y1="248" x2="540" y2="248" stroke="#e2e8f0" stroke-width="1"/>
|
||||
|
|
@ -83,8 +84,8 @@ export class PaymentProofService {
|
|||
|
||||
<line x1="60" y1="315" x2="540" y2="315" stroke="#e2e8f0" stroke-width="1"/>
|
||||
|
||||
<text x="60" y="340" font-family="Noto Sans CJK SC,Noto Sans SC,sans-serif" font-size="13" fill="#64748b">收款地址</text>
|
||||
<text x="60" y="363" font-family="monospace,Noto Sans CJK SC,sans-serif" font-size="14" fill="#1e293b">${this.esc(shortAddr)}</text>
|
||||
<text x="60" y="340" font-family="Noto Sans CJK SC,Noto Sans SC,sans-serif" font-size="13" fill="#64748b">对方ID</text>
|
||||
<text x="60" y="363" font-family="Noto Sans CJK SC,Noto Sans SC,sans-serif" font-size="16" font-weight="bold" fill="#1e293b">${this.esc(data.sellerId)}</text>
|
||||
|
||||
<line x1="60" y1="380" x2="540" y2="380" stroke="#e2e8f0" stroke-width="1"/>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue