mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 02:08:15 +08:00
update 优化分片上传分组校验
This commit is contained in:
parent
38be1c9ac2
commit
f7583b8e56
@ -64,14 +64,14 @@ public class MultipartBo implements Serializable {
|
||||
* 最多分片一万,一次性返回会造成前端性能问题,需要前端多次校验
|
||||
*/
|
||||
@NotNull(message = "最大返回的分片数不能为空", groups = QueryGroup.class)
|
||||
@Range(max = 1000, message = "最大返回的分片数不能超过1000", groups = EditGroup.class)
|
||||
@Range(max = 1000, message = "最大返回的分片数不能超过1000", groups = QueryGroup.class)
|
||||
private Integer maxParts;
|
||||
|
||||
/**
|
||||
* 分片编号的标记,用于分页查询(默认为0,表示从第一个分片开始查询)
|
||||
*/
|
||||
@NotNull(message = "分片编号的标记不能为空", groups = QueryGroup.class)
|
||||
@Range(min = 0, max = 10000, message = "分片编号的标记长度必须在0到10000之间", groups = EditGroup.class)
|
||||
@Range(min = 0, max = 10000, message = "分片编号的标记长度必须在0到10000之间", groups = QueryGroup.class)
|
||||
private Integer partNumberMarker;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user