<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Article\Web\Controller; use ModStart\Core\Input\Response; use ModStart\Core\Util\ArrayUtil; use ModStart\Module\ModuleBaseController; use Module\Article\Util\ArticleUtil; class ArticleController extends ModuleBaseController { public function views($gZ39D) { goto pgE6Q; vuWio: if (empty($nnVRs)) { return Response::page404(); } goto dznzl; dznzl: $kF488 = 'article.view'; goto VqEpQ; VqEpQ: if ($nnVRs['position'] == 'page' || empty($nnVRs['position'])) { $kF488 = 'article.viewPage'; } goto k70Xx; pgE6Q: if (is_numeric($gZ39D)) { $nnVRs = ArticleUtil::get($gZ39D); } else { $nnVRs = ArticleUtil::getByAlias($gZ39D); } goto vuWio; k70Xx: return $this->view($kF488, array('article' => $nnVRs)); goto LP3NT; LP3NT: } }