分销员中心-实名认证
绑定邀请人 分销员:获取下级分销员分页列表 分销员:获取邀请人分页列表
This commit is contained in:
@@ -150,6 +150,12 @@ public class ShopUser implements Serializable {
|
||||
private LocalDateTime nextDeliverTime;
|
||||
// 分销员ID 邀请人id
|
||||
private Long distributionUserId;
|
||||
// 分销员ID 邀请人上级id
|
||||
private Long distributionUserParentId;
|
||||
//邀请人累计收益/一级分润
|
||||
private BigDecimal oneIncome;
|
||||
//邀请人上级累计收益/二级分润
|
||||
private BigDecimal twoIncome;
|
||||
|
||||
@Column(ignore = true)
|
||||
private String memberName;
|
||||
|
||||
@@ -106,6 +106,11 @@ public class MkDistributionUserDTO extends TimeQueryParam implements Serializabl
|
||||
*/
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
private String headImg;
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
package com.czg.market.service;
|
||||
|
||||
import com.czg.account.entity.UserInfo;
|
||||
import com.czg.market.dto.MkDistributionUserDTO;
|
||||
import com.czg.market.dto.MkDistributionWithdrawFlowDTO;
|
||||
import com.czg.market.entity.MkDistributionUser;
|
||||
import com.czg.market.vo.DistributionCenterShopVO;
|
||||
import com.czg.market.vo.InviteUserVO;
|
||||
import com.czg.order.dto.MkDistributionPayDTO;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
@@ -40,11 +42,26 @@ public interface MkDistributionUserService extends IService<MkDistributionUser>
|
||||
*/
|
||||
Map<String, Object> centerConfig(Long userId, Long shopId);
|
||||
|
||||
/**
|
||||
* 分销员中心-实名认证
|
||||
*/
|
||||
void realNameAuth(UserInfo userInfo);
|
||||
|
||||
/**
|
||||
* 分销员中心-绑定邀请人
|
||||
*/
|
||||
void bindInviteUser(MkDistributionUserDTO param);
|
||||
|
||||
/**
|
||||
* 获取分销员分页列表
|
||||
*/
|
||||
Page<MkDistributionUserDTO> getDistributionUser(MkDistributionUserDTO param);
|
||||
|
||||
/**
|
||||
* 获取分销员邀请人分页列表
|
||||
*/
|
||||
Page<InviteUserVO> getInviteUser(Long id, Integer page, Integer size);
|
||||
|
||||
/**
|
||||
* 添加分销员
|
||||
* shop_id 和 shop_user_id 必填 opening_method 必填
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.czg.market.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
* @description
|
||||
*/
|
||||
@Data
|
||||
public class InviteUserVO {
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
private String headImg;
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
private String shopUserName;
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
private String shopUserPhone;
|
||||
|
||||
/**
|
||||
* 一级收益
|
||||
*/
|
||||
private BigDecimal oneIncome;
|
||||
}
|
||||
Reference in New Issue
Block a user