From 824d0e6c43e8570ee0189a12bb642cb9ef04b78b Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Tue, 12 Jul 2016 17:21:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6=E9=80=9A?= =?UTF-8?q?=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lyms/platform/operate/web/request/PatientGuideSmsRequest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PatientGuideSmsRequest.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PatientGuideSmsRequest.java index b4d8c42..d3002e0 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PatientGuideSmsRequest.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PatientGuideSmsRequest.java @@ -1,6 +1,7 @@ package com.lyms.platform.operate.web.request; import com.lyms.platform.common.core.annotation.form.FormParam; +import org.hibernate.validator.constraints.NotBlank; import org.hibernate.validator.constraints.NotEmpty; import java.util.List; @@ -13,7 +14,7 @@ import java.util.List; public class PatientGuideSmsRequest { //短信内容 @FormParam - @NotEmpty(message = "短信内容不能为空") + @NotBlank(message = "短信内容不能为空") private String smsContent; //儿童IDs -- 1.8.3.1