xin
2025-07-08 83396a38be3c69c81f8acc4681c18f5dd0e698be
oying-system/src/main/java/com/oying/modules/hwc/rest/SwiftPassController.java
@@ -1,7 +1,7 @@
package com.oying.modules.hwc.rest;
import com.oying.annotation.rest.AnonymousPostMapping;
import com.oying.modules.hwc.service.SwiftPassService;
import com.oying.modules.hwc.service.CallbackService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
@@ -22,17 +22,17 @@
@RequestMapping("/api/swiftPass")
public class SwiftPassController {
    private final SwiftPassService swiftPassService;
    private final CallbackService callbackService;
    @ApiOperation("HWS支付回调")
    @AnonymousPostMapping(value = "/alipayCallback")
    public void alipayCallback(HttpServletRequest request, HttpServletResponse response) {
        swiftPassService.alipayCallback(request, response);
        callbackService.alipayCallback(request, response);
    }
    @ApiOperation("HWS退款回调")
    @AnonymousPostMapping(value = "/returnNotify")
    public void returnNotify(HttpServletRequest request, HttpServletResponse response) {
        swiftPassService.returnNotify(request, response);
        callbackService.returnNotify(request, response);
    }
}