tanghc 6 years ago
parent 55924d1c9c
commit d35f2ccf8c
  1. 4
      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;
}

Loading…
Cancel
Save