You've already forked FrameTour-BE
系统支付对接、避免返回过多数据
This commit is contained in:
@ -1,24 +1,26 @@
|
||||
package com.ycwl.basic.service.mobile;
|
||||
|
||||
import com.ycwl.basic.model.wx.WXPayOrderReqVO;
|
||||
import com.ycwl.basic.model.wx.WxPayRespVO;
|
||||
import com.ycwl.basic.model.wx.WxchatCallbackSuccessData;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.io.IOException;
|
||||
import java.security.GeneralSecurityException;
|
||||
import java.util.Map;
|
||||
|
||||
public interface WxPayService {
|
||||
|
||||
/**
|
||||
* 微信预支付
|
||||
*/
|
||||
WxPayRespVO createOrder(WXPayOrderReqVO req) throws Exception;
|
||||
Map<String, Object> createOrder(Long scenicId, WXPayOrderReqVO req) throws Exception;
|
||||
|
||||
/**
|
||||
* 微信支付回调
|
||||
*/
|
||||
void payNotify(HttpServletRequest xml);
|
||||
void payNotify(HttpServletRequest request);
|
||||
|
||||
void payNotify(Long scenicId, HttpServletRequest request);
|
||||
|
||||
|
||||
/**
|
||||
@ -38,7 +40,7 @@ public interface WxPayService {
|
||||
/**
|
||||
* 微信退款回调
|
||||
*/
|
||||
boolean refundNotify(String refundResult) throws IOException, GeneralSecurityException;
|
||||
boolean refundNotify(Long scenicId, HttpServletRequest request) throws IOException;
|
||||
|
||||
/**
|
||||
* 关闭订单
|
||||
@ -46,4 +48,5 @@ public interface WxPayService {
|
||||
* @param orderId 订单id(订单编号)
|
||||
*/
|
||||
void closeOrder(String orderId) ;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user