thinkphp5 框架修改的地方

框架修改的地方

vendor/topthink/think-captcha/src/Captcha.php

api验证码入库
196行
$img_code = strtoupper(implode('', $code));
$model = new appcommonmodelComCodeimg();
$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