分账提现接口

This commit is contained in:
张松
2025-10-27 20:38:06 +08:00
parent 078b8d1c5d
commit d8171cfb75
5 changed files with 58 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
* 提现记录表 实体类。
@@ -26,6 +27,7 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Table("mk_distribution_withdraw_flow")
@Accessors(chain = true)
public class MkDistributionWithdrawFlow implements Serializable {
@Serial

View File

@@ -116,4 +116,5 @@ public interface MkDistributionUserService extends IService<MkDistributionUser>
Boolean withdraw(long userId, MkDistributionWithdrawFlowDTO withdrawFlowDTO);
Map<String, Object> withdrawDetail(long userId, Long shopId, Long id);
}

View File

@@ -60,6 +60,25 @@ public interface TableValueConstant {
}
interface DistributionWithdrawFlow {
@Getter
enum Status {
PENDING("pending", "提现中"),
SUB("sub", "系统扣减"),
OPEN("open", "分销员购买"),
FINISH("finish", "已提现"),
SELF_RECHARGE("self_recharge", "自助充值");
private final String code;
private final String msg;
Status(String code, String msg) {
this.code = code;
this.msg = msg;
}
}
}
interface DistributionFlow {
@Getter
enum Status {