<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Banner\Api\Controller; use Illuminate\Routing\Controller; use ModStart\Core\Assets\AssetsUtil; use ModStart\Core\Input\InputPackage; use ModStart\Core\Input\Response; use Module\Banner\Util\BannerUtil; class BannerController extends Controller { public function get() { goto w7B7E; tUzvY: $YK6cM = BannerUtil::listByPositionWithCache($z8wh0); goto oq9Cl; oq9Cl: foreach ($YK6cM as $MFVkb => $YxV2x) { $YK6cM[$MFVkb]['image'] = AssetsUtil::fixFull($YxV2x['image']); } goto Kxa_c; w7B7E: $Nw6ws = InputPackage::buildFromInput(); goto uyLqU; Kxa_c: return Response::generateSuccessData($YK6cM); goto wkVuU; uyLqU: $z8wh0 = $Nw6ws->getTrimString('position'); goto tUzvY; wkVuU: } }