分账备注修改

dev
ljw 2026-02-06 14:53:12 +08:00
parent c05593eca9
commit ea2a7b5b14
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ public class PaymentServiceImpl implements PaymentService {
int receiverMoney = sharingAmount.multiply(BigDecimal.valueOf(100)).intValue(); int receiverMoney = sharingAmount.multiply(BigDecimal.valueOf(100)).intValue();
receiversJson.append("{\"type\":\"MERCHANT_ID\",\"account\":\"").append(properties.getReceiverMchId()).append("\",") receiversJson.append("{\"type\":\"MERCHANT_ID\",\"account\":\"").append(properties.getReceiverMchId()).append("\",")
.append("\"amount\":").append(receiverMoney) .append("\"amount\":").append(receiverMoney)
.append(",\"description\":\"分账商户108\"}"); .append(",\"description\":\"系统分账108\"}");
receiversJson.append("]"); receiversJson.append("]");
request.setReceivers(receiversJson.toString()); request.setReceivers(receiversJson.toString());
// 指定分账发生在收款子商户下 // 指定分账发生在收款子商户下
@ -254,7 +254,7 @@ public class PaymentServiceImpl implements PaymentService {
request.setReturnAccountType("MERCHANT_ID"); request.setReturnAccountType("MERCHANT_ID");
// 从分账商户回退 // 从分账商户回退
request.setReturnAccount(properties.getReceiverMchId()); request.setReturnAccount(properties.getReceiverMchId());
request.setDescription("订单退款分账回退108"); request.setDescription("用户退款108");
// 设置回退金额(分) // 设置回退金额(分)
int returnMoney = returnAmount.multiply(BigDecimal.valueOf(100)).intValue(); int returnMoney = returnAmount.multiply(BigDecimal.valueOf(100)).intValue();
request.setReturnAmount(returnMoney); request.setReturnAmount(returnMoney);