This commit is contained in:
张良(004796)
2024-03-29 14:45:29 +08:00
parent e3bf8cd433
commit fbec1e6a56
15 changed files with 316 additions and 42 deletions

View File

@@ -13,7 +13,16 @@ public class HomePageReq extends PageQuery {
@Schema(hidden = true)
private LocalDate birthdayEnd;
/**
* 查询人是否实名认证
*/
@Schema(hidden = true)
private Integer certStatus = 0;
/**
* 查询人是否VIP
*/
@Schema(hidden = true)
private Integer vipStatus = 0;
@Schema(description = "年龄-开始")
private Integer ageBegin;
@Schema(description = "年龄-结束")

View File

@@ -7,6 +7,9 @@ import java.time.LocalDate;
@Data
public class HomeUserListVo {
@Schema(description = "是否可以查看头像,当不可以查看的时候头像是空")
private Boolean showAvatarBool = true;
private Integer showAvatar;
@Schema(description = "是否开通VIP")
private Boolean openVip = false;
@Schema(description = "已开通的VIP类型")

View File

@@ -9,6 +9,8 @@ import java.util.List;
@Data
public class HomeUserVo {
@Schema(description = "是否可以查看头像,当不可以查看的时候头像和图片是空")
private Boolean showAvatarBool = true;
@Schema(description = "用户ID")
private Long userId;
@Schema(description = "用户编号")

View File

@@ -0,0 +1,35 @@
package com.ruoyi.xq.dto.app.userstatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
public class UserStatusInfoAppVo {
@Schema(description = "用户ID")
private Long userId;
/**
* 用户号
*/
@Schema(description = "用户编号")
private String usercode;
/**
* 征婚状态 1-寻找中 2-已脱单 3-隐藏资料
*/
@Schema(description = "征婚状态 1-寻找中 2-已脱单 3-隐藏资料")
private Integer personalsStatus;
/**
* 谁可查看头像 1-所有用户 2-VIP用户 3-实名用户 4-实名认证且VIP用户 5-不公开
*/
@Schema(description = "谁可查看头像 1-所有用户 2-VIP用户 3-实名用户 4-实名认证且VIP用户 5-不公开")
private Integer showAvatar;
/**
* 是否允许交换手机号
*/
@Schema(description = "是否允许交换手机号")
private Integer allowTransMobile;
/**
* 是否允许交换微信
*/
@Schema(description = "是否允许交换微信")
private Integer allowTransWx;
}

View File

@@ -0,0 +1,30 @@
package com.ruoyi.xq.dto.app.userstatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
public class UserStatusUpdateAppReq {
@Schema(description = "用户ID")
private Long userId;
/**
* 征婚状态 1-寻找中 2-已脱单 3-隐藏资料
*/
@Schema(description = "征婚状态 1-寻找中 2-已脱单 3-隐藏资料")
private Integer personalsStatus;
/**
* 谁可查看头像 1-所有用户 2-VIP用户 3-实名用户 4-实名认证且VIP用户 5-不公开
*/
@Schema(description = "谁可查看头像 1-所有用户 2-VIP用户 3-实名用户 4-实名认证且VIP用户 5-不公开")
private Integer showAvatar;
/**
* 是否允许交换手机号
*/
@Schema(description = "是否允许交换手机号")
private Integer allowTransMobile;
/**
* 是否允许交换微信
*/
@Schema(description = "是否允许交换微信")
private Integer allowTransWx;
}