From c10d6358b9f014375a13821465bc978d0c0da22e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 29 May 2024 17:17:08 +0800
Subject: [PATCH] 通过E呼即办数据统计

---
 src/main/java/org/springblade/modules/pay/service/IWxPayService.java |   34 ++++++++++++++++++++++++++++------
 1 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/springblade/modules/pay/service/IWxPayService.java b/src/main/java/org/springblade/modules/pay/service/IWxPayService.java
index c078e9c..8881e34 100644
--- a/src/main/java/org/springblade/modules/pay/service/IWxPayService.java
+++ b/src/main/java/org/springblade/modules/pay/service/IWxPayService.java
@@ -3,12 +3,34 @@
 import com.baomidou.mybatisplus.extension.service.IService;
 import org.springblade.modules.pay.entity.WxPayInfo;
 
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.security.GeneralSecurityException;
+import java.util.Map;
+
 public interface IWxPayService extends IService<WxPayInfo> {
 
-	/**
-	 * 获取openId
-	 * @param code
-	 * @return
-	 */
-    Object getOpenId(String code);
+
+	void processOrder(Map<String, Object> bodyMap) throws GeneralSecurityException;
+
+	void cancelOrder(String orderNo) throws Exception;
+
+	String queryOrder(String orderNo) throws Exception;
+
+	void checkOrderStatus(String orderNo) throws Exception;
+
+	void refund(String orderNo, String reason) throws Exception;
+
+	String queryRefund(String orderNo) throws Exception;
+
+	void checkRefundStatus(String refundNo) throws Exception;
+
+	void processRefund(Map<String, Object> bodyMap) throws Exception;
+
+	Map<String, String> jsapiPay(Long productId) throws IOException;
+
+	String refundsNotify(HttpServletRequest request, HttpServletResponse response);
+
+	String nativeNotify(HttpServletRequest request, HttpServletResponse response);
 }

--
Gitblit v1.9.3