<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace App\Web\Controller; 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; use Module\Member\Web\Controller\MemberFrameController; class MemberProfileController extends MemberFrameController implements MemberLoginCheck { private $api; public function __construct() { parent::__construct(); $this->api = app(\App\Api\Controller\MemberProfileController::class); } public function index(WebConfigBuilder $iBBfw) { goto QdJRR; k6dab: $iBBfw->page()->view($this->viewMemberFrame); goto ofI7L; ofI7L: $iBBfw->text('username', '用户名')->readonly(true); goto FoGeR; QdJRR: $iBBfw->pageTitle('基本资料'); goto k6dab; YJLJi: $iBBfw->textarea('signature', '签名'); goto xlCnv; FoGeR: $iBBfw->radio('gender', '性别')->optionType(Gender::class); goto YJLJi; xlCnv: return $iBBfw->perform(MemberUser::user(), function (Form $gOpbE) { return $this->api->basic($gOpbE->dataForming()); }); goto y0V7V; y0V7V: } }