<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace App\Web\Controller; use Illuminate\Support\Facades\View; use ModStart\App\Web\Layout\WebConfigBuilder; use ModStart\Form\Form; use Module\Member\Auth\MemberUser; use Module\Member\Support\MemberLoginCheck; use Module\Member\Type\Gender; class MemberProfileController extends BaseController implements MemberLoginCheck { private $api; private $viewMemberFrame; public function __construct() { goto tQbp9; P1z1I: $this->api = app(\App\Api\Controller\MemberProfileController::class); goto K08ku; NmGLG: View::share('_viewMemberFrame', $this->viewMemberFrame); goto P1z1I; tQbp9: list($this->viewMemberFrame, $r07FA) = $this->viewPaths('member.frame'); goto NmGLG; K08ku: } public function index(WebConfigBuilder $LcYeb) { goto cfw8t; Sqkxx: $LcYeb->text('username', '用户名')->readonly(true); goto OJFmB; p1DyR: return $LcYeb->perform(MemberUser::user(), function (Form $NpL1B) { return $this->api->basic($NpL1B->dataForming()); }); goto b53WW; u5IRI: $LcYeb->page()->view($this->viewMemberFrame); goto Sqkxx; OJFmB: $LcYeb->radio('gender', '性别')->optionType(Gender::class); goto eWfwJ; eWfwJ: $LcYeb->text('realname', '姓名'); goto YX0hu; YX0hu: $LcYeb->text('signature', '签名'); goto p1DyR; cfw8t: $LcYeb->pageTitle('基本资料'); goto u5IRI; b53WW: } }