model('article')->allowField(true)->isUpdate(false)->save($data);
foreach循环中,保存数据到数据库,应为:
foreach ($dataArr as $data) {
model('article')->allowField(true)->isUpdate(false)->data($data,true)->save();}