<?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 xGB4K; xGB4K: $Q9nmo = InputPackage::buildFromInput(); goto LI3f6; wTF7H: return Response::generateSuccessData(array('article' => $IDJi3)); goto Dwz1j; hytWx: if (is_numeric($MkmbZ)) { $IDJi3 = ArticleUtil::get($MkmbZ); } else { $IDJi3 = ArticleUtil::getByAlias($MkmbZ); } goto wTF7H; LI3f6: $MkmbZ = $Q9nmo->getTrimString('id'); goto hytWx; Dwz1j: } }