<?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 $V88X9) { goto NknQI; jLKU2: $V88X9->radio('gender', '性别')->optionType(Gender::class); goto NBk5t; V85L_: $V88X9->page()->view($this->viewMemberFrame); goto XFgnP; NBk5t: $V88X9->textarea('signature', '签名'); goto NnYBY; NnYBY: return $V88X9->perform(MemberUser::user(), function (Form $cGH_z) { return $this->api->basic($cGH_z->dataForming()); }); goto Jbbd0; NknQI: $V88X9->pageTitle('基本资料'); goto V85L_; XFgnP: $V88X9->text('username', '用户名')->readonly(true); goto jLKU2; Jbbd0: } }