From 5dc40fcd64b0513150f1d8335ab849e6d8cdc28e Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 04 七月 2025 19:42:49 +0800
Subject: [PATCH] 支付版本更新 根据资金流向使用V2或V3服务商版本支付

---
 cloud-server-competition/src/main/java/com/dsh/competition/service/impl/PaymentCompetitionServiceImpl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/PaymentCompetitionServiceImpl.java b/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/PaymentCompetitionServiceImpl.java
index 1b12afa..81b6967 100644
--- a/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/PaymentCompetitionServiceImpl.java
+++ b/cloud-server-competition/src/main/java/com/dsh/competition/service/impl/PaymentCompetitionServiceImpl.java
@@ -258,10 +258,10 @@
                         // 微信商户号
                         String s2 =storeClient.getmerchantNumberByOperatorId(competition.getOperatorId());
                         ResultUtil resultUtil = payMoneyUtil.fenzhangRefund(paymentCompetition.getFenzhangNo(), paymentCompetition.getFenzhangAmount(), s2, randomCode, randomCode1);
-                        if (!resultUtil.getCode().equals(500)){
-                            System.err.println("分账回退失败 原因是:"+resultUtil.getMsg());
+                        if (!resultUtil.getCode().equals(200)){
+                            System.err.println("分账回退失败 原因是:"+resultUtil.getData().toString());
                         }else{
-                            paymentCompetition.setFenzhangRefundNo(resultUtil.getMsg());
+                            paymentCompetition.setFenzhangRefundNo(resultUtil.getData().toString());
                             paymentCompetitionMapper.updateById(paymentCompetition);
                         }
 

--
Gitblit v1.7.1