<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Res\Api\Controller; use Illuminate\Routing\Controller; use ModStart\Core\Exception\BizException; use ModStart\Core\Input\InputPackage; use ModStart\Core\Input\Response; use Module\Member\Util\MemberUtil; class ResMemberController extends Controller { public function get() { goto FbZ8m; kqrCr: return Response::generateSuccessData(array('record' => $lpVAI)); goto F0TpJ; sTSwZ: if (empty($lpVAI['nickname'])) { $lpVAI['nickname'] = $g3uu_['username']; } goto pFRfp; N92dw: $lpVAI['nickname'] = $g3uu_['nickname']; goto sTSwZ; ghL3N: $g3uu_ = MemberUtil::get($KJqKC); goto ww5QO; FbZ8m: $WZ8dY = InputPackage::buildFromInput(); goto BHrto; ww5QO: BizException::throwsIfEmpty('用户不存在', $g3uu_); goto YOEPS; BHrto: $KJqKC = $WZ8dY->getInteger('memberUserId'); goto ghL3N; fFIwP: $lpVAI['id'] = $g3uu_['id']; goto N92dw; pFRfp: $lpVAI['avatar'] = MemberUtil::fixAvatar($g3uu_['avatar']); goto S_Ma5; YOEPS: $lpVAI = array(); goto fFIwP; S_Ma5: $lpVAI['signature'] = $g3uu_['signature']; goto kqrCr; F0TpJ: } }