钱包支付 Client 的实现

This commit is contained in:
jason
2023-08-27 10:10:28 +08:00
parent 1baa7f4aee
commit c7f6f92159
15 changed files with 285 additions and 6 deletions

View File

@ -43,6 +43,7 @@ public interface ErrorCodeConstants {
// ========== 钱包模块(退款) 1007007000 ==========
ErrorCode WALLET_NOT_FOUND = new ErrorCode(1007007000, "用户钱包不存在");
ErrorCode WALLET_NOT_ENOUGH = new ErrorCode(1007007001, "钱包余额不足");
// ========== 示例订单 1007900000 ==========
ErrorCode DEMO_ORDER_NOT_FOUND = new ErrorCode(1007900000, "示例订单不存在");

View File

@ -12,7 +12,8 @@ import lombok.Getter;
@Getter
public enum WalletBizTypeEnum {
RECHARGE(1, "充值"),
RECHARGE_REFUND(2, "充值退款");
RECHARGE_REFUND(2, "充值退款"),
PAYMENT(3, "支付");
// TODO 后续增加
/**