We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34afa70 commit ad824f3Copy full SHA for ad824f3
doc/components/httpserver/validation.md
@@ -27,9 +27,9 @@
27
* @HttpValidation
28
*
29
* @Required(name="$get.id", message="用户ID为必传参数")
30
- * @Integer(name="$get.id", min="1", message="用户ID不符合规则")
+ * @Integer(name="$get.id", min=1, message="用户ID不符合规则")
31
* @Required(name="$get.name", message="用户姓名为必传参数")
32
- * @Text(name="$get.name", min="2", message="用户姓名长度不得少于2位")
+ * @Text(name="$get.name", min=2, message="用户姓名长度不得少于2位")
33
* @Required(name="$get.age", default=-1)
34
35
* @ExtractData(name="$get.id", to="id")
0 commit comments