readme修正

This commit is contained in:
thinkphp
2016-07-17 22:50:13 +08:00
parent a0cb6687a6
commit 58a9437e94

View File

@@ -22,7 +22,7 @@ thinkphp5 验证码类库
使用TP5的内置验证功能即可
~~~
$this->validate($data,[
'captcha|验证码'=>'required|captcha'
'captcha|验证码'=>'require|captcha'
]);
~~~
或者手动验证