From d35f2ccf8ca75cddc7a7c73e12dbdf58e42b3566 Mon Sep 17 00:00:00 2001 From: tanghc Date: Wed, 15 May 2019 15:09:41 +0800 Subject: [PATCH] 1.8.0 --- .../gitee/sop/storyweb/controller/param/FileUploadParam.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/FileUploadParam.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/FileUploadParam.java index 14bd44c0..ac778bf2 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/FileUploadParam.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/FileUploadParam.java @@ -13,9 +13,9 @@ public class FileUploadParam { private String remark; // 上传文件,字段名称对应表单中的name属性值 - @NotNull(message = "文件1不能为空") + @NotNull(message = "请上传文件1") private MultipartFile file1; - @NotNull(message = "文件2不能为空") + @NotNull(message = "请上传文件2") private MultipartFile file2; }