<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Web\Controller; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\Response; use Intervention\Image\Facades\Image; class PlaceholderController extends Controller { public function index($aXFIh, $oqjPA) { goto zZmPo; UxTB4: $oqjPA = max($oqjPA, 10); goto mJkdU; HbKTQ: $aXFIh = max($aXFIh, 10); goto wGseg; gtD8Q: return Response::make($rRXtT->encode('png'))->header('Content-Type', 'image/png'); goto nAKGx; mJkdU: $rRXtT = Image::canvas($aXFIh, $oqjPA, '#CCC'); goto Gx_Ko; wGseg: $oqjPA = min($oqjPA, 2000); goto UxTB4; Gx_Ko: $rRXtT->text($aXFIh . 'x' . $oqjPA, $aXFIh / 2, $oqjPA / 2, function ($LH3l9) use($aXFIh, $oqjPA) { $ybAJb = min($aXFIh, $oqjPA) / 10; $LH3l9->size($ybAJb); $LH3l9->color('#666666'); $LH3l9->align('center'); $LH3l9->valign('center'); }); goto gtD8Q; zZmPo: $aXFIh = min($aXFIh, 2000); goto HbKTQ; nAKGx: } }