Showing
1 changed file
with
2 additions
and
2 deletions
@@ -646,7 +646,7 @@ public class PaymentServiceImpl implements IPaymentService { | @@ -646,7 +646,7 @@ public class PaymentServiceImpl implements IPaymentService { | ||
646 | } | 646 | } |
647 | 647 | ||
648 | @Database(ForceMaster = true) | 648 | @Database(ForceMaster = true) |
649 | - public boolean transAllEarnest(long orderCode, Integer uid, BigDecimal amount, String alipayAccount){ | 649 | + public boolean transAllEarnest(long orderCode, Integer uid, BigDecimal amount, String alipayId, String alipayAccount){ |
650 | logger.info("退还商家所有保证金,转账开始,orderCode = {}, uid={}, amount={}, alipayAccount={}", orderCode, uid, amount, alipayAccount); | 650 | logger.info("退还商家所有保证金,转账开始,orderCode = {}, uid={}, amount={}, alipayAccount={}", orderCode, uid, amount, alipayAccount); |
651 | 651 | ||
652 | int now = (int) (System.currentTimeMillis()/1000); | 652 | int now = (int) (System.currentTimeMillis()/1000); |
@@ -711,7 +711,7 @@ public class PaymentServiceImpl implements IPaymentService { | @@ -711,7 +711,7 @@ public class PaymentServiceImpl implements IPaymentService { | ||
711 | // 转账 | 711 | // 转账 |
712 | try { | 712 | try { |
713 | logger.info("transAllEarnest开始调用阿里接口参数buyerOrderCode={}, alipayAccount={}, transferAmount={}", orderCode, alipayAccount, amount); | 713 | logger.info("transAllEarnest开始调用阿里接口参数buyerOrderCode={}, alipayAccount={}, transferAmount={}", orderCode, alipayAccount, amount); |
714 | - JSONObject jsonObject = alipayService.transferMoney(Long.toString(orderCode), null, alipayAccount, amount); | 714 | + JSONObject jsonObject = alipayService.transferMoney(Long.toString(orderCode), alipayId, alipayAccount, amount); |
715 | if (jsonObject == null) { | 715 | if (jsonObject == null) { |
716 | logger.warn("transAllEarnestErr 转账失败 , orderCode is {}", orderCode); | 716 | logger.warn("transAllEarnestErr 转账失败 , orderCode is {}", orderCode); |
717 | transfer.setStatus(3); | 717 | transfer.setStatus(3); |
-
Please register or login to post a comment