框架修改的地方
vendor/topthink/think-captcha/src/Captcha.php
api验证码入库 196行 $img_code = strtoupper(implode('', $code)); $model = new \app\common\model\ComCodeimg(); $model->saveCode($img_code,input('id'));
thinkphp/library/think/Validate.php
配合前端js, 写session 445行添加 session('js.name',$key);
去掉curl
转载于:https://www.cnblogs.com/xielisen/p/8274328.html