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
| package cn.iocoder.yudao.module.pay.api.wallet;
|
| import cn.iocoder.yudao.module.pay.api.wallet.dto.PayWalletAddBalanceReqDTO;
| import cn.iocoder.yudao.module.pay.api.wallet.dto.PayWalletRespDTO;
|
| /**
| * 钱包 API 接口
| *
| * @author liurulin
| */
| public interface PayWalletApi {
|
| /**
| * 添加钱包余额
| *
| * @param reqDTO 增加余额请求
| */
| void addWalletBalance(PayWalletAddBalanceReqDTO reqDTO);
|
| /**
| * 获取钱包信息
| *
| * @param userId 用户编号
| * @param userType 用户类型
| * @return 钱包信息
| */
| PayWalletRespDTO getOrCreateWallet(Long userId, Integer userType);
|
| }
|
|