邀请人列表
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.czg.account.entity;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
@@ -167,6 +168,8 @@ public class ShopUser implements Serializable {
|
||||
private Integer discount;
|
||||
@Column(ignore = true)
|
||||
private Integer isMemberPrice;
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime inviteTime;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -42,6 +42,11 @@ public interface MkDistributionUserService extends IService<MkDistributionUser>
|
||||
*/
|
||||
Map<String, Object> centerConfig(Long userId, Long shopId);
|
||||
|
||||
/**
|
||||
* 分销员中心-获取邀请码
|
||||
*/
|
||||
String getInviteCode(Long shopId, Long shopUserId);
|
||||
|
||||
/**
|
||||
* 分销员中心-实名认证
|
||||
*/
|
||||
@@ -72,7 +77,7 @@ public interface MkDistributionUserService extends IService<MkDistributionUser>
|
||||
* shop_id 和 shop_user_id 必填 opening_method 必填
|
||||
* 如果distribution_level_id指定 则 distribution_level_name 也填
|
||||
*/
|
||||
void addDistributionUser(MkDistributionUser param);
|
||||
MkDistributionUser addDistributionUser(MkDistributionUser param);
|
||||
|
||||
/**
|
||||
* 更新分销员
|
||||
|
||||
@@ -4,6 +4,7 @@ import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
@@ -29,4 +30,20 @@ public class InviteUserVO implements Serializable {
|
||||
* 一级收益
|
||||
*/
|
||||
private BigDecimal oneIncome;
|
||||
/**
|
||||
* 邀请时间
|
||||
*/
|
||||
private LocalDateTime inviteTime;
|
||||
/**
|
||||
* 等级id
|
||||
*/
|
||||
private Integer levelId;
|
||||
/**
|
||||
* 等级名称
|
||||
*/
|
||||
private String levelName;
|
||||
/**
|
||||
* 是否分销员
|
||||
*/
|
||||
private Integer isDistribution;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user