package com.stylefeng.guns.modular.system.service;
|
|
import com.stylefeng.guns.modular.vo.WxPayAppVO;
|
import org.springframework.http.ResponseEntity;
|
|
import javax.servlet.http.HttpServletRequest;
|
import java.io.IOException;
|
import java.math.BigDecimal;
|
import java.util.Map;
|
|
/**
|
* 支付服务
|
*
|
* @author Lux
|
* @version 1.0.0
|
* @since 2026/6/3 15:24
|
*/
|
public interface IPayService {
|
|
/**
|
* 微信充值
|
*
|
* @param userId 充值用户
|
* @param money 充值金额
|
*/
|
WxPayAppVO wechatRecharge(Integer userId, BigDecimal money) throws Exception;
|
|
/**
|
* 微信支付成功回调
|
*/
|
Map<String,Object> wechatNotify(HttpServletRequest request) throws IOException;
|
}
|