<?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($wcvhk, $fiy0t) { goto fbT5G; cvETF: $PbCqK = Image::canvas($wcvhk, $fiy0t, '#CCC'); goto bcC1A; EP6_8: $fiy0t = min($fiy0t, 2000); goto v925y; bcC1A: $PbCqK->text($wcvhk . 'x' . $fiy0t, $wcvhk / 2, $fiy0t / 2, function ($Gm9Pc) use($wcvhk, $fiy0t) { $ZKPSv = min($wcvhk, $fiy0t) / 10; $Gm9Pc->size($ZKPSv); $Gm9Pc->color('#666666'); $Gm9Pc->align('center'); $Gm9Pc->valign('center'); }); goto XPWiw; EMyhu: $wcvhk = max($wcvhk, 10); goto EP6_8; fbT5G: $wcvhk = min($wcvhk, 2000); goto EMyhu; v925y: $fiy0t = max($fiy0t, 10); goto cvETF; XPWiw: return Response::make($PbCqK->encode('png'))->header('Content-Type', 'image/png'); goto ngiX1; ngiX1: } }