<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Core\Input\Response; class WidgetIconController extends Controller { public static $PermitMethodMap = array('*' => '*'); public function index() { goto eCSJA; u3sqO: $i6RRS[] = array('title' => '内置图标', 'list' => $IiW4A); goto ln2jD; cr3oy: $IiW4A = array(); goto nY5A0; eCSJA: $i6RRS = array(); goto cr3oy; z4cwD: if (file_exists($wjJPd = public_path('asset/font-awesome/css/font-awesome.min.css')) && ($Ral1i = file_get_contents($wjJPd))) { preg_match_all('/\\.fa-([a-z0-9\\-]+):before/', $Ral1i, $oxpiO); $IiW4A = array_map(function ($DvG1n) { return array('title' => $DvG1n, 'cls' => "fa fa-{$DvG1n}"); }, $oxpiO[1]); } goto rTFUR; uyA4U: return Response::jsonSuccessData($i6RRS); goto kz2C2; rTFUR: $i6RRS[] = array('title' => 'Font Awesome', 'list' => $IiW4A); goto uyA4U; ln2jD: $IiW4A = array(); goto z4cwD; nY5A0: if (file_exists($wjJPd = public_path('asset/vendor/iconfont/iconfont.css')) && ($Ral1i = file_get_contents($wjJPd))) { preg_match_all('/\\.icon-([a-z0-9\\-]+):before/', $Ral1i, $oxpiO); $IiW4A = array_map(function ($DvG1n) { return array('title' => $DvG1n, 'cls' => "iconfont icon-{$DvG1n}"); }, $oxpiO[1]); } goto u3sqO; kz2C2: } }