-
构建场景: 在MODEL中添加 public function scenarios() { return [ 'scenario1' => ['column_name1', 'column_name2'] .... ]; }查看全部
-
DEBUG性能监测 \Yii::beginProfile('name_one'); ... code ... \Yii::endProfile('name_one'); 则在debug记录可以查看code运行耗费时间查看全部
举报
0/150
提交
取消