yanderong
2026-06-05 be49561932d273c1bb3540cb9ed862eefaafd77e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
}