<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Member\Web\Controller; use ModStart\App\Web\Layout\WebPage; use ModStart\Field\AbstractField; use ModStart\Field\AutoRenderedFieldValue; use ModStart\Grid\Grid; use ModStart\Grid\GridFilter; use ModStart\Repository\Filter\RepositoryFilter; use Module\Member\Auth\MemberUser; use Module\Member\Support\MemberLoginCheck; class MemberMoneyController extends MemberFrameController implements MemberLoginCheck { private $api; public function __construct() { parent::__construct(); $this->api = app(\Module\Member\Api\Controller\MemberMoneyController::class); } public function index(WebPage $j13Tr) { goto Dt3Nu; cJhDD: $ktizU->repositoryFilter(function (RepositoryFilter $wPpmz) { $wPpmz->where(array('memberUserId' => MemberUser::id())); }); goto u9m81; Uq8ON: $ktizU->disableCUD()->disableItemOperate(); goto mc8iy; lwxiu: return $j13Tr->pageTitle('钱包')->view($RzPgc)->body($ktizU)->handleGrid($ktizU); goto uD8K7; mc8iy: $ktizU->useSimple(function (AbstractField $UdGHQ, $Z32UA, $OPJGK) { return AutoRenderedFieldValue::makeView('module::Member.View.pc.memberMoney.item', array('item' => $Z32UA)); }); goto aPhZl; aPhZl: list($RzPgc, $FViDa) = $this->viewPaths('memberMoney.index'); goto lwxiu; u9m81: $ktizU->gridFilter(function (GridFilter $wPpmz) { $wPpmz->range('created_at', '时间')->datetime(); }); goto Uq8ON; Dt3Nu: $ktizU = Grid::make('member_money_log'); goto cJhDD; uD8K7: } }