public function beforeAction($handlerAdapter) { parent::beforeAction($handlerAdapter); if (empty($this->schoolExtra) == false && $this->schoolExtra['openorder'] == 0) { $this->forwardRedirect(WindUrlHelper::createUrl('app/4tschool/shopdetails/whenOpen')); } }
public function beforeAction($handlerAdapter) { parent::beforeAction($handlerAdapter); if (empty($this->schoolExtra) == false && $this->schoolExtra['openliuyanban'] == 0) { $this->forwardRedirect(WindUrlHelper::createUrl('app/4tschool/notopen/run')); } }
public function beforeAction($handlerAdapter) { parent::beforeAction($handlerAdapter); }
public function beforeAction($handlerAdapter) { parent::beforeAction($handlerAdapter); //no need to valiation if users are login or not }