fix #593 set min value of numOfThread
This commit is contained in:
parent
f748d865c4
commit
ae75f980db
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ public class CreateForm {
|
|||
public Long maxAccessCount;
|
||||
|
||||
@Required
|
||||
@Min(value = 0)
|
||||
@Min(value = 1)
|
||||
@Max(value = 2147483647)
|
||||
@ValidateTypeFailure
|
||||
public Integer numOfThread;
|
||||
|
|
|
@ -79,7 +79,7 @@ public class CreateForm {
|
|||
public String userAgent;
|
||||
|
||||
@Required
|
||||
@Min(value = 0)
|
||||
@Min(value = 1)
|
||||
@Max(value = 2147483647)
|
||||
@ValidateTypeFailure
|
||||
public Integer numOfThread;
|
||||
|
|
Loading…
Add table
Reference in a new issue