TP5验证码使用

首先使用Composer安装think-captcha扩展包:php composer require topthink/think-captcha 验证码配置 而后在应用配置文件中添加验证码的配置参数session 'captcha' => [ // 验证码字符集合 'codeSet' => '2345678abcdefhijkmnpqrstuvwxyzABC
相关文章
相关标签/搜索