规范readme格式,增加点击图片自动更换验证码的功能说明

This commit is contained in:
changwei
2018-06-07 02:43:57 +08:00
parent 2a10155772
commit d7dcc6a615

View File

@@ -5,9 +5,9 @@ thinkphp5 验证码类库
> composer require topthink/think-captcha > composer require topthink/think-captcha
##使用 ## 使用
###模板里输出验证码 ### 模板里输出验证码
~~~ ~~~
<div>{:captcha_img()}</div> <div>{:captcha_img()}</div>
@@ -18,6 +18,11 @@ thinkphp5 验证码类库
~~~ ~~~
> 上面两种的最终效果是一样的 > 上面两种的最终效果是一样的
或者带有点击图片自动更换验证码的功能
~~~
<div>{:captcha_img_with_replacement()}</div>
~~~
### 控制器里验证 ### 控制器里验证
使用TP5的内置验证功能即可 使用TP5的内置验证功能即可
~~~ ~~~