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); $is_weixin = $this->_getCommonDs()->is_weixin(); if (!$is_weixin) { return; } $this->setOutput($is_weixin, 'is_weixin'); }
public function beforeAction($handlerAdapter) { parent::beforeAction($handlerAdapter); //SEO Information $SEOInfo = $this->getSEOInfo(); $this->setOutput($SEOInfo['School'] . '帮助中心,自助服务中心,' . $SEOInfo['SEOTitle'], 'SEOTitle'); $this->setOutput($SEOInfo['School'] . '帮助中心,自助服务中心 ' . $SEOInfo['SEOKeyword'], 'SEOKeyword'); $this->setOutput($SEOInfo['School'] . '帮助中心,自助服务中心,' . $SEOInfo['SEODescription'], 'SEODescription'); }
public function beforeAction($handlerAdapter) { parent::beforeAction($handlerAdapter); $schoolId = $this->getCurrentSchoolId(); if (!isset($schoolId) || $schoolId <= 0) { print_r("请选择学校"); } if (empty($this->schoolExtra) == false && $this->schoolExtra['openliuyanban'] == 0) { $this->forwardRedirect(WindUrlHelper::createUrl('app/4tschool/notopen/run')); } //SEO Information $SEOInfo = $this->getSEOInfo(); $this->setOutput($SEOInfo['School'] . '点餐反馈与建议,' . $SEOInfo['SEOTitle'], 'SEOTitle'); $this->setOutput($SEOInfo['School'] . '点餐反馈与建议 ' . $SEOInfo['SEOKeyword'], 'SEOKeyword'); $this->setOutput($SEOInfo['School'] . '点餐反馈与建议,' . $SEOInfo['SEODescription'], 'SEODescription'); }
public function beforeAction($handlerAdapter) { parent::beforeAction($handlerAdapter); }