123
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.ruoyi.cai.dto.app.query.album;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AlbumAddReq {
|
||||
@Schema(description = "用户ID",hidden = true)
|
||||
private Long userId;
|
||||
@Schema(description = "url")
|
||||
private String url;
|
||||
private Integer orderBy = 0;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.ruoyi.cai.dto.app.query;
|
||||
package com.ruoyi.cai.dto.app.query.album;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
@@ -1,15 +1,15 @@
|
||||
package com.ruoyi.cai.dto.app.query;
|
||||
package com.ruoyi.cai.dto.app.query.album;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AlbumAddReq {
|
||||
public class AlbumUpdateReq {
|
||||
@Schema(description = "用户ID",hidden = true)
|
||||
private Long userId;
|
||||
@Schema(description = "id")
|
||||
private Long id;
|
||||
@Schema(description = "url")
|
||||
private String url;
|
||||
private Integer orderBy;
|
||||
private Integer orderBy = 0;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.ruoyi.cai.dto.app.query.user;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class UserUpdateAvatarReq {
|
||||
@Schema(description = "用户ID",hidden = true)
|
||||
private Long userId;
|
||||
@Schema(description = "头像")
|
||||
private String avatar;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.ruoyi.cai.dto.app.query;
|
||||
package com.ruoyi.cai.dto.app.query.user;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
@@ -20,6 +20,6 @@ public class UserUpdateReq {
|
||||
private LocalDate birthday;
|
||||
@Schema(description = "性别")
|
||||
private Integer gender;
|
||||
@Schema(description = "头像")
|
||||
@Schema(description = "头像",hidden = true)
|
||||
private String avatar;
|
||||
}
|
||||
@@ -87,7 +87,7 @@ public class CurrentUserUpdateInfoVo implements Serializable {
|
||||
* 相册
|
||||
*/
|
||||
@Schema(description = "相册")
|
||||
private List<UserAlbumDTO> userAlbumList;
|
||||
private List<UserAlbumAuditVo> userAlbumList;
|
||||
|
||||
|
||||
@Schema(description = "头像修改模型")
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.ruoyi.cai.dto.app.vo.user;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class UserAlbumAuditVo {
|
||||
@Schema(description = "相册ID")
|
||||
private Long id;
|
||||
@Schema(description = "用户名称")
|
||||
private Long userId;
|
||||
@Schema(description = "相册URL")
|
||||
private String url;
|
||||
@Schema(description = "状态 0-未审核 1-审核通过 2-审核未通过")
|
||||
private Integer auditStatus;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.ruoyi.cai.dto.app.vo.user;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class UserAvatarMinVo {
|
||||
@Schema(description = "头像")
|
||||
private String avatar;
|
||||
@Schema(description = "状态 0-未审核 1-审核通过 2-审核未通过")
|
||||
private Integer auditStatus;
|
||||
}
|
||||
Reference in New Issue
Block a user