init
This commit is contained in:
@@ -18,6 +18,8 @@ public class CurrentUserInfoVo {
|
|||||||
private String usercode;
|
private String usercode;
|
||||||
@Schema(description = "用户类型 0-普通用户 1-内部用户")
|
@Schema(description = "用户类型 0-普通用户 1-内部用户")
|
||||||
private Integer type;
|
private Integer type;
|
||||||
|
@Schema(description = "是否已经实名")
|
||||||
|
private Boolean cardNumAuthBool = false;
|
||||||
/**
|
/**
|
||||||
* 昵称
|
* 昵称
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ public class CurrentUserManager {
|
|||||||
vo.setAlreadyAuthNum(userAuth.getAlreadyAuthNum());
|
vo.setAlreadyAuthNum(userAuth.getAlreadyAuthNum());
|
||||||
List<UserPictures> userPictures = userPicturesService.listByUserIdAuditingAndSuccess(user.getId());
|
List<UserPictures> userPictures = userPicturesService.listByUserIdAuditingAndSuccess(user.getId());
|
||||||
vo.setUserPicturesList(BeanConvertUtil.convertListTo(userPictures, UserPicturesDTO::new));
|
vo.setUserPicturesList(BeanConvertUtil.convertListTo(userPictures, UserPicturesDTO::new));
|
||||||
|
vo.setCardNumAuthBool(AuditEnum.SUCCESS.getCode().equals(userAuth.getCardNumAuth()));
|
||||||
if(user.getOpenVip() != null){
|
if(user.getOpenVip() != null){
|
||||||
vo.setOpenVip(user.getOpenVip());
|
vo.setOpenVip(user.getOpenVip());
|
||||||
vo.setVipType(user.getVipType());
|
vo.setVipType(user.getVipType());
|
||||||
|
|||||||
Reference in New Issue
Block a user