分账提现接口
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user