thinkphp6批量添加数据过滤不存在字段出错

浏览:315 发布日期:2021/06/04 分类:ThinkPHP6专区
$user=new UserModel();
$user->allowField(true)->insertAll($data);
错误method not exist:think\db\Query->allowField
最佳答案
评论( 相关
后面还有条评论,点击查看>>