thinkphp save失败的解决办法:1、打开相应的代码文件;2、使用“$this->typeModel->field(id,name,sort)->data($data)->save();”方式更新数据即可。本