优化发帖校验提示

This commit is contained in:
linfeng 2024-01-29 10:08:44 +08:00
parent afd65f6809
commit 69e4e260f0

View File

@ -29,7 +29,7 @@ public class AddPostForm implements Serializable {
/**
* 圈子id
*/
@NotNull(message = "无参数圈子id")
@NotNull(message = "未选择圈子")
private Integer topicId;
/**
* 话题id
@ -56,7 +56,7 @@ public class AddPostForm implements Serializable {
/**
* 帖子类型1 图文 2视频 3文章4投票
*/
@NotNull(message = "无参数type")
@NotNull(message = "未选择帖子类型")
private Integer type;
/**
* 地址名称