[ 'class' => 'yii\web\ErrorAction', ], ]; } public function actionIndex() { return Goods::findOne(1); } }