<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace App\Api\Controller; use Illuminate\Routing\Controller; use ModStart\Core\Input\InputPackage; use ModStart\Core\Input\Response; use ModStart\Core\Util\ArrayUtil; use Module\Member\Auth\MemberUser; use Module\Member\Support\MemberLoginCheck; use Module\Member\Util\MemberUtil; class MemberProfileController extends Controller implements MemberLoginCheck { public function basic($Eq_0k = null) { goto zktL3; zktL3: $bFtMp = InputPackage::buildFromInput(); goto O1ZQx; lOeJy: return Response::jsonSuccess('保存成功'); goto fuRC1; O1ZQx: if (null === $Eq_0k) { $Eq_0k = $bFtMp->all(); } goto bwxxn; bwxxn: MemberUtil::update(MemberUser::id(), ArrayUtil::keepKeys($Eq_0k, array('gender', 'realname', 'signature'))); goto lOeJy; fuRC1: } }