From c1d20b425b10e8ba59f102dd1ab413055883eed0 Mon Sep 17 00:00:00 2001
From: 彭雪彬 <1724387007@qq.com>
Date: Mon, 14 Jul 2025 16:57:11 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/xin' into pxb

---
 oying-system/src/main/java/com/oying/modules/hwc/rest/SwiftPassController.java |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/hwc/rest/SwiftPassController.java b/oying-system/src/main/java/com/oying/modules/hwc/rest/SwiftPassController.java
new file mode 100644
index 0000000..9718207
--- /dev/null
+++ b/oying-system/src/main/java/com/oying/modules/hwc/rest/SwiftPassController.java
@@ -0,0 +1,38 @@
+package com.oying.modules.hwc.rest;
+
+import com.oying.annotation.rest.AnonymousPostMapping;
+import com.oying.modules.hwc.service.CallbackService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.RequiredArgsConstructor;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @author xin
+ * @description
+ * @date 2025/1/24 下午1:01
+ */
+@RestController
+@RequiredArgsConstructor
+@Api(tags = "HWS:汇旺财回调")
+@RequestMapping("/api/swiftPass")
+public class SwiftPassController {
+
+    private final CallbackService callbackService;
+
+    @ApiOperation("HWS支付回调")
+    @AnonymousPostMapping(value = "/alipayCallback")
+    public void alipayCallback(HttpServletRequest request, HttpServletResponse response) {
+        callbackService.alipayCallback(request, response);
+    }
+
+    @ApiOperation("HWS退款回调")
+    @AnonymousPostMapping(value = "/returnNotify")
+    public void returnNotify(HttpServletRequest request, HttpServletResponse response) {
+        callbackService.returnNotify(request, response);
+    }
+}

--
Gitblit v1.9.3