feat(internal/controllers): 更新订单信息结构,新增轮询订单号字段
- 在订单信息中添加了轮询订单号字段,增强了订单数据的完整性。 - 更新了相关数据结构和前端展示,确保新字段的正确显示。 - 优化了订单数据的获取逻辑,提升了代码的可读性和维护性。
This commit is contained in:
@@ -209,6 +209,7 @@
|
||||
<th>商户名称</th>
|
||||
<th>商户订单号</th>
|
||||
<th>本系统订单号</th>
|
||||
<th>轮询订单号</th>
|
||||
<th>实付金额</th>
|
||||
<th>卡密信息</th>
|
||||
<th>支付状态</th>
|
||||
@@ -482,6 +483,7 @@
|
||||
tmp = tmp + "<th>" + (res.StartIndex + i + 1) + "</th>" +
|
||||
"<th>" + v.MerchantName + "</th>" + "<th>" + v.MerchantOrderId + "</th>" +
|
||||
"<th>" + v.BankOrderId + "</th>" +
|
||||
"<th>" + v.PoolOrderId + "</th>" +
|
||||
"<th>" + v.FactAmount + "</th>" +
|
||||
"<th>" + `卡号:${exValue.cardNo !== undefined ? exValue.cardNo : ''}<br />卡密:${exValue.data !== undefined ? exValue.data : ''}` + "</th>" +
|
||||
"<th>" + (v.Status === "wait" ? "等待支付" : v.Status === "success" ? "支付成功" : v.Status === "fail" ? "支付失败" : v.Status === "cancel" ? "放弃支付" : v.Status === "created" ? "创建" : v.Status) + "</th>"; if (v.Freeze === "yes") {
|
||||
|
||||
Reference in New Issue
Block a user