<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Member\Web\Controller; use Illuminate\Support\Facades\View; use ModStart\Admin\Widget\DashboardItemA; use ModStart\App\Web\Layout\WebPage; use ModStart\Core\Input\Response; use ModStart\Layout\Row; use ModStart\Widget\Box; use Module\Member\Config\MemberHomeIcon; use Module\Member\Support\MemberLoginCheck; class MemberController extends MemberFrameController implements MemberLoginCheck { private $api; public function __construct(\Module\Member\Api\Controller\MemberController $N0nrY) { parent::__construct(); $this->api = $N0nrY; } public function index(WebPage $j13Tr) { goto Terfj; Terfj: list($RzPgc, $cJ5Ec) = $this->viewPaths('member.index'); goto sG0kk; Fnhuz: View::share($v844n); goto LhP3y; bweNX: foreach (MemberHomeIcon::get() as $iuVxE) { $j13Tr->append(Box::make(new Row(function (Row $q0jG3) use($iuVxE) { foreach ($iuVxE['children'] as $ezNye) { $hsART = isset($ezNye['value']) ? $ezNye['value'] : null; $q0jG3->column(array('md' => 2, '' => 4), DashboardItemA::makeIconTitleValueLink($ezNye['icon'], $ezNye['title'], $hsART, $ezNye['url'])); } }), $iuVxE['title'])); } goto k8KkY; LhP3y: $j13Tr->pageTitle('我的'); goto C0UkC; sG0kk: $j13Tr->view($RzPgc); goto bweNX; C0UkC: return $j13Tr; goto ePfGD; k8KkY: $v844n = Response::tryGetData($this->api->current()); goto Fnhuz; ePfGD: } }