Yii2.0成功或者失败提示➕页面跳转 Yii::$app->session->setFlash('success', '添加成功'); return $this->redirect(['user/lists']);