package com.xinelu.applet.service.wechatpaymentinfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description 微信支付回调业务层
 * @Author 纪寒
 * @Date 2022-10-20 14:00:21
 * @Version 1.0
 */
public interface WeChatPayNotifyService {

    /**
     * 新医路支付回调接口
     *
     * @param request  请求信息
     * @param response 响应信息
     * @return 应答信息，避免微信平台重复发送回调通知
     * @throws Exception 异常信息
     */
    String xylWeChatPayNotify(HttpServletRequest request, HttpServletResponse response) throws Exception;

    /**
     * 新医路退款回调接口
     *
     * @param request  请求信息
     * @param response 响应信息
     * @return 应答信息，避免微信平台重复发送回调通知
     * @throws Exception 异常信息
     */
    String xylWeChatRefundNotify(HttpServletRequest request, HttpServletResponse response) throws Exception;
}
