增加字段必填校验
This commit is contained in:
@@ -85,6 +85,7 @@ public class AddPointDetailRequest {
|
||||
private String landlordUsername;
|
||||
|
||||
@ApiModelProperty("房东电话")
|
||||
@NotBlank(message = "房东电话不能为空")
|
||||
private String landlordMobile;
|
||||
|
||||
@Min(1)
|
||||
|
||||
Reference in New Issue
Block a user