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/service/SwiftPassService.java | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/hwc/service/SwiftPassService.java b/oying-system/src/main/java/com/oying/modules/hwc/service/SwiftPassService.java new file mode 100644 index 0000000..5c6c7c5 --- /dev/null +++ b/oying-system/src/main/java/com/oying/modules/hwc/service/SwiftPassService.java @@ -0,0 +1,44 @@ +package com.oying.modules.hwc.service; + +import com.alibaba.fastjson2.JSONObject; +import com.oying.modules.hwc.domain.HwcResponse; +import com.oying.utils.enums.PayTypeEnum; + +import javax.validation.constraints.NotNull; +import java.util.Map; + +/** + * @author xin + * @description + * @date 2025/1/23 下午3:55 + */ +public interface SwiftPassService { + + /** + * <一句话功能简述> + * <功能详细描述>支付请求 + * + * @see [类、类#方法、类#成员] + */ + HwcResponse pay(String ip, String total, String timeExpire, String description, String openId, + String orderNum, PayTypeEnum status); + + /** + * <一句话功能简述> + * <功能详细描述>订单查询 + * + * @see [类、类#方法、类#成员] + */ + JSONObject query(String orderNum, PayTypeEnum status); + + void closeOrder(String outTradeNo, PayTypeEnum status); + + /** + * <一句话功能简述> + * <功能详细描述>退款 + * + * @see [类、类#方法、类#成员] + */ + Map<String, String> refund(String returnNum, String orderNum, @NotNull(message = "备注不能为空") String reason, + long refund, long total, PayTypeEnum payType); +} -- Gitblit v1.9.3