<?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($ehT8H = null) { goto oNs9M; Ajsgb: if (null === $ehT8H) { $ehT8H = $pnnaw->all(); } goto Qa4_o; Qa4_o: MemberUtil::update(MemberUser::id(), ArrayUtil::keepKeys($ehT8H, array('gender', 'realname', 'signature'))); goto yhHTI; yhHTI: return Response::jsonSuccess('保存成功'); goto z13Qm; oNs9M: $pnnaw = InputPackage::buildFromInput(); goto Ajsgb; z13Qm: } }