<?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($xfbDU, $fx1en) { goto hmRDY; hmRDY: $xfbDU = min($xfbDU, 2000); goto kg030; JZh3V: return Response::make($KsZqs->encode('png'))->header('Content-Type', 'image/png'); goto yrxbP; Su8Ow: $fx1en = min($fx1en, 2000); goto Gw8SN; kg030: $xfbDU = max($xfbDU, 10); goto Su8Ow; y1Q9X: $KsZqs->text($xfbDU . 'x' . $fx1en, $xfbDU / 2, $fx1en / 2, function ($YIeSb) use($xfbDU, $fx1en) { $c2L7c = min($xfbDU, $fx1en) / 10; $YIeSb->size($c2L7c); $YIeSb->color('#666666'); $YIeSb->align('center'); $YIeSb->valign('center'); }); goto JZh3V; FP3Ew: $KsZqs = Image::canvas($xfbDU, $fx1en, '#CCC'); goto y1Q9X; Gw8SN: $fx1en = max($fx1en, 10); goto FP3Ew; yrxbP: } }