<?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($QZaNP = null) { goto FZUg4; FZUg4: $pxUS5 = InputPackage::buildFromInput(); goto zM6a2; jnz5h: return Response::jsonSuccess('保存成功'); goto ptQmj; zM6a2: if (null === $QZaNP) { $QZaNP = $pxUS5->all(); } goto FtdDw; FtdDw: MemberUtil::update(MemberUser::id(), ArrayUtil::keepKeys($QZaNP, array('gender', 'nickname', 'signature'))); goto jnz5h; ptQmj: } }