From 47378fb7743a8e139d0ee2de8f35eb41ba7bda06 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Thu, 25 Sep 2025 21:49:54 +0800
Subject: [PATCH] 汇旺财多账户支付配置

---
 oying-system/src/main/java/com/oying/modules/hwc/service/impl/SwiftPassServiceImpl.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/hwc/service/impl/SwiftPassServiceImpl.java b/oying-system/src/main/java/com/oying/modules/hwc/service/impl/SwiftPassServiceImpl.java
index e0a7063..b0dfd84 100644
--- a/oying-system/src/main/java/com/oying/modules/hwc/service/impl/SwiftPassServiceImpl.java
+++ b/oying-system/src/main/java/com/oying/modules/hwc/service/impl/SwiftPassServiceImpl.java
@@ -72,6 +72,9 @@
             case HWC2:
                 map.put("mch_id", properties.getMchId2());
                 break;
+            case HWC3:
+                map.put("mch_id", properties.getMchId3());
+                break;
             default:
                 throw new BadRequestException("汇旺财类型错误");
         }
@@ -140,6 +143,9 @@
                 break;
             case HWC2:
                 map.put("mch_id", properties.getMchId2());
+                break;
+            case HWC3:
+                map.put("mch_id", properties.getMchId3());
                 break;
             default:
                 throw new BadRequestException("汇旺财类型错误");
@@ -210,6 +216,9 @@
                 break;
             case HWC2:
                 map.put("mch_id", properties.getMchId2());
+                break;
+            case HWC3:
+                map.put("mch_id", properties.getMchId3());
                 break;
             default:
                 throw new BadRequestException("汇旺财类型错误");
@@ -286,6 +295,10 @@
                 map.put("mch_id", properties.getMchId2());
                 map.put("op_user_id", properties.getMchId2());
                 break;
+            case HWC3:
+                map.put("mch_id", properties.getMchId3());
+                map.put("op_user_id", properties.getMchId3());
+                break;
             default:
                 throw new BadRequestException("汇旺财类型错误");
         }

--
Gitblit v1.9.3