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