init
This commit is contained in:
@@ -47,6 +47,8 @@ public class User implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@Schema(description = "开通的VIP类型")
|
@Schema(description = "开通的VIP类型")
|
||||||
private Integer vipType;
|
private Integer vipType;
|
||||||
|
@Schema(description = "vip到期时间")
|
||||||
|
private LocalDateTime vipTimeout;
|
||||||
/**
|
/**
|
||||||
* 密码
|
* 密码
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -80,6 +80,8 @@ public class CurrentUserInfoVo {
|
|||||||
*/
|
*/
|
||||||
@Schema(description = "vip等级",hidden = true)
|
@Schema(description = "vip等级",hidden = true)
|
||||||
private Integer vipType;
|
private Integer vipType;
|
||||||
|
@Schema(description = "vip到期时间")
|
||||||
|
private LocalDateTime vipTimeout;
|
||||||
/**
|
/**
|
||||||
* 收益的余额
|
* 收益的余额
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -118,7 +118,8 @@ public class CurrentUserManager {
|
|||||||
vo.setUserPicturesList(BeanConvertUtil.convertListTo(userPictures, UserPicturesDTO::new));
|
vo.setUserPicturesList(BeanConvertUtil.convertListTo(userPictures, UserPicturesDTO::new));
|
||||||
if(user.getOpenVip() != null){
|
if(user.getOpenVip() != null){
|
||||||
vo.setOpenVip(user.getOpenVip());
|
vo.setOpenVip(user.getOpenVip());
|
||||||
// vo.setVipType();
|
vo.setVipType(user.getVipType());
|
||||||
|
vo.setVipTimeout(user.getVipTimeout());
|
||||||
}
|
}
|
||||||
UserExtend userExtend = userExtendService.getByUserId(userId);
|
UserExtend userExtend = userExtendService.getByUserId(userId);
|
||||||
vo.setIncomeCoin(userExtend.getIncomeCoin());
|
vo.setIncomeCoin(userExtend.getIncomeCoin());
|
||||||
|
|||||||
Reference in New Issue
Block a user