Skip to content

Commit ad824f3

Browse files
committed
修正文档
1 parent 34afa70 commit ad824f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/components/httpserver/validation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
* @HttpValidation
2828
*
2929
* @Required(name="$get.id", message="用户ID为必传参数")
30-
* @Integer(name="$get.id", min="1", message="用户ID不符合规则")
30+
* @Integer(name="$get.id", min=1, message="用户ID不符合规则")
3131
* @Required(name="$get.name", message="用户姓名为必传参数")
32-
* @Text(name="$get.name", min="2", message="用户姓名长度不得少于2位")
32+
* @Text(name="$get.name", min=2, message="用户姓名长度不得少于2位")
3333
* @Required(name="$get.age", default=-1)
3434
*
3535
* @ExtractData(name="$get.id", to="id")

0 commit comments

Comments
 (0)