From 1facfdc9361d888d72c959bac4d8fb05dcad02d7 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 07 Jul 2022 18:27:06 +0800 Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/farmer-cms --- src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminUpdateWebSetDto.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminUpdateWebSetDto.java b/src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminUpdateWebSetDto.java index 9eb825d..d22e9a0 100644 --- a/src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminUpdateWebSetDto.java +++ b/src/main/java/com/xcong/farmer/cms/modules/system/dto/AdminUpdateWebSetDto.java @@ -4,6 +4,8 @@ import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import javax.validation.constraints.NotBlank; + @Data @ApiModel(value = "AdminUpdateWebSetDto", description = "参数接收类") public class AdminUpdateWebSetDto { @@ -12,9 +14,11 @@ private Long id; @ApiModelProperty(value = "网页标题") + @NotBlank(message = "请输入网页标题") private String webTitle; @ApiModelProperty(value = "网页关键字") + @NotBlank(message = "请输入网页关键字") private String webKeyword; @ApiModelProperty(value = "网页描述") -- Gitblit v1.9.1