<?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($HQH7i, $OLhuR) { goto T1hyU; bUYPU: $OLhuR = max($OLhuR, 10); goto OHeoH; of420: $HQH7i = max($HQH7i, 10); goto sFkId; EY7lr: return Response::make($rQiR7->encode('png'))->header('Content-Type', 'image/png'); goto RbHS6; OHeoH: $rQiR7 = Image::canvas($HQH7i, $OLhuR, '#CCC'); goto pYFBN; pYFBN: $rQiR7->text($HQH7i . 'x' . $OLhuR, $HQH7i / 2, $OLhuR / 2, function ($BIyhT) use($HQH7i, $OLhuR) { $OMPiW = min($HQH7i, $OLhuR) / 10; $BIyhT->size($OMPiW); $BIyhT->color('#666666'); $BIyhT->align('center'); $BIyhT->valign('center'); }); goto EY7lr; T1hyU: $HQH7i = min($HQH7i, 2000); goto of420; sFkId: $OLhuR = min($OLhuR, 2000); goto bUYPU; RbHS6: } }