mirror of
https://gitee.com/fastadminnet/think-captcha.git
synced 2026-07-01 22:02:49 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ab79cc547 | ||
|
|
9bf096c29a |
@@ -2,7 +2,7 @@
|
||||
thinkphp5 验证码类库
|
||||
|
||||
## 安装
|
||||
> composer install topthink/think-captcha
|
||||
> composer require topthink/think-captcha
|
||||
|
||||
|
||||
##使用
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
function captcha($id = "", $config = [])
|
||||
{
|
||||
$captcha = new \think\Captcha($config);
|
||||
$captcha = new \think\captcha\Captcha($config);
|
||||
$captcha->entry($id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user