/**
  * Displays a single User model.
  * @return string|Response
  * @throws \yii\base\InvalidConfigException
  */
 public function actionAccount()
 {
     /** @var SettingsForm $model */
     $model = Yii::createObject(AccountForm::className());
     $this->performAjaxValidation($model);
     if ($model->load(Yii::$app->request->post()) && $model->save()) {
         Yii::$app->session->setFlash('success', '您的用户信息修改成功');
         return $this->refresh();
     }
     return $this->render('account', ['model' => $model]);
 }