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; }