<?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 Po0r4; Po0r4: $WZ8dY = InputPackage::buildFromInput(); goto txlGG; zW91L: $K938W = BannerUtil::listByPositionWithCache($FcLCS); goto aVuJ9; txlGG: $FcLCS = $WZ8dY->getTrimString('position'); goto zW91L; s0KW_: return Response::generateSuccessData($K938W); goto zSklH; aVuJ9: foreach ($K938W as $kEhTf => $y2Ltn) { $K938W[$kEhTf]['image'] = AssetsUtil::fixFull($y2Ltn['image']); } goto s0KW_; zSklH: } }