<?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($KbRl4, $HyzrK) { goto ky3WU; ky3WU: $KbRl4 = min($KbRl4, 2000); goto nSaA7; qHlWh: $HyzrK = min($HyzrK, 2000); goto QiWXd; IVYga: $wTYKL = Image::canvas($KbRl4, $HyzrK, '#CCC'); goto pKZe5; QiWXd: $HyzrK = max($HyzrK, 10); goto IVYga; pKZe5: $wTYKL->text($KbRl4 . 'x' . $HyzrK, $KbRl4 / 2, $HyzrK / 2, function ($TLyCi) use($KbRl4, $HyzrK) { $dIlUS = min($KbRl4, $HyzrK) / 10; $TLyCi->size($dIlUS); $TLyCi->color('#666666'); $TLyCi->align('center'); $TLyCi->valign('center'); }); goto LdEw_; nSaA7: $KbRl4 = max($KbRl4, 10); goto qHlWh; LdEw_: return Response::make($wTYKL->encode('png'))->header('Content-Type', 'image/png'); goto aktft; aktft: } }