yii数据错误输出

1
2
3
$record->setAttributes($data);
$record->save();
var_dump($record->getErrors());exit;`
查看评论