<?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($PgwSF, $uSU1w) { goto aPq02; aPq02: $PgwSF = min($PgwSF, 2000); goto libFX; FEn0q: $tfFLu->text($PgwSF . 'x' . $uSU1w, $PgwSF / 2, $uSU1w / 2, function ($BOQL8) use($PgwSF, $uSU1w) { $PTGk1 = min($PgwSF, $uSU1w) / 10; $BOQL8->size($PTGk1); $BOQL8->color('#666666'); $BOQL8->align('center'); $BOQL8->valign('center'); }); goto HOdnq; fMeLF: $tfFLu = Image::canvas($PgwSF, $uSU1w, '#CCC'); goto FEn0q; libFX: $PgwSF = max($PgwSF, 10); goto u04Ht; u04Ht: $uSU1w = min($uSU1w, 2000); goto Dmko1; HOdnq: return Response::make($tfFLu->encode('png'))->header('Content-Type', 'image/png'); goto sI5UI; Dmko1: $uSU1w = max($uSU1w, 10); goto fMeLF; sI5UI: } }