diff --git a/src/helper.php b/src/helper.php index a142ae3..dd0b407 100644 --- a/src/helper.php +++ b/src/helper.php @@ -24,7 +24,7 @@ */ function captcha($id = "", $config = []) { - $captcha = new \think\Captcha($config); + $captcha = new \think\captcha\Captcha($config); $captcha->entry($id); }