<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Article\Api\Controller; use ModStart\Core\Input\InputPackage; use ModStart\Core\Input\Response; use ModStart\Module\ModuleBaseController; use Module\Article\Util\ArticleUtil; class ArticleController extends ModuleBaseController { public function get() { goto p18yN; y9l5j: return Response::generateSuccessData(array('article' => $m2hNL)); goto tiB42; c_Yi8: if (is_numeric($M3rBS)) { $m2hNL = ArticleUtil::get($M3rBS); } else { $m2hNL = ArticleUtil::getByAlias($M3rBS); } goto y9l5j; p18yN: $Nw6ws = InputPackage::buildFromInput(); goto W_F5m; W_F5m: $M3rBS = $Nw6ws->getTrimString('id'); goto c_Yi8; tiB42: } }