package org.springblade.modules.pay.service;
|
|
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> {
|
|
|
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);
|
}
|