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/utils/SignUtil.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/hwc/utils/SignUtil.java b/oying-system/src/main/java/com/oying/modules/hwc/utils/SignUtil.java
index 6d9450a..5162317 100644
--- a/oying-system/src/main/java/com/oying/modules/hwc/utils/SignUtil.java
+++ b/oying-system/src/main/java/com/oying/modules/hwc/utils/SignUtil.java
@@ -32,6 +32,8 @@
                     return MD5.sign(preStr, "&key=" + properties.getKey(), "utf-8");
                 case HWC2:
                     return MD5.sign(preStr, "&key=" + properties.getKey2(), "utf-8");
+                case HWC3:
+                    return MD5.sign(preStr, "&key=" + properties.getKey3(), "utf-8");
             }
             throw new BadRequestException("汇旺财类型错误");
         }
@@ -54,6 +56,8 @@
                     return !SignUtils.checkParam(resultMap, properties.getKey());
                 case HWC2:
                     return !SignUtils.checkParam(resultMap, properties.getKey2());
+                case HWC3:
+                    return !SignUtils.checkParam(resultMap, properties.getKey3());
             }
             throw new BadRequestException("汇旺财类型错误");
         }

--
Gitblit v1.9.3