<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Res\Web\Controller; use ModStart\Core\Input\Response; use ModStart\Module\ModuleBaseController; class IndexController extends ModuleBaseController { private $api; public function __construct(\Module\Res\Api\Controller\ResController $pbQhK) { $this->api = $pbQhK; } public function index() { goto i6hso; Sbxy9: $sr5M7['latestRecords'] = Response::tryGetData($this->api->latest(), 'records'); goto EvDpn; i6hso: $sr5M7 = array(); goto Sbxy9; EvDpn: return $this->view('res.index', $sr5M7); goto w9AdM; w9AdM: } }