You've already forked FrameTour-BE
微信退款、退款回调
This commit is contained in:
@ -5,6 +5,8 @@ import com.ycwl.basic.model.wxPay.WxPayRespVO;
|
||||
import com.ycwl.basic.model.wxPay.WxchatCallbackSuccessData;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.io.IOException;
|
||||
import java.security.GeneralSecurityException;
|
||||
|
||||
public interface WxPayService {
|
||||
|
||||
@ -22,4 +24,18 @@ public interface WxPayService {
|
||||
* 微信支付结果查询
|
||||
*/
|
||||
WxchatCallbackSuccessData queryPay(Long orderId);
|
||||
|
||||
/**
|
||||
* 订单退款
|
||||
*
|
||||
* @param orderId 订单id(订单编号)
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
Boolean refundOrder(String orderId) throws Exception;
|
||||
|
||||
/**
|
||||
* 微信退款回调
|
||||
*/
|
||||
boolean refundNotify(String refundResult) throws IOException, GeneralSecurityException;
|
||||
}
|
||||
|
Reference in New Issue
Block a user