<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Member\Api\Controller; use Illuminate\Routing\Controller; use ModStart\Core\Exception\BizException; use ModStart\Core\Input\InputPackage; use ModStart\Core\Input\Response; class MemberDocController extends Controller { public function get() { goto D1qvP; NoAoy: $AIxhN = $tBuXm->getTrimString('type'); goto wMmC6; D1qvP: $tBuXm = InputPackage::buildFromInput(); goto NoAoy; wMmC6: BizException::throwsIf('类型错误', !in_array($AIxhN, array('agreement', 'privacy'))); goto rD3aM; rD3aM: return Response::generateSuccessData(array('title' => modstart_config('Member_' . ucfirst($AIxhN) . 'Title'), 'content' => modstart_config('Member_' . ucfirst($AIxhN) . 'Content'))); goto sFfTX; sFfTX: } }