<?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 xe4JR; dF5DO: return Response::jsonSuccessData($l9prs); goto fUoSR; eQlwu: $l9prs[] = array('title' => 'Font Awesome', 'list' => $NTs0I); goto dF5DO; T8oOA: if (file_exists($rZJie = public_path('asset/vendor/iconfont/iconfont.css')) && ($ZA40Q = file_get_contents($rZJie))) { preg_match_all('/\\.icon-([a-z0-9\\-]+):before/', $ZA40Q, $okKGo); $NTs0I = array_map(function ($n_9y_) { return array('title' => $n_9y_, 'cls' => "iconfont icon-{$n_9y_}"); }, $okKGo[1]); } goto CodFT; o0Z8b: if (file_exists($rZJie = public_path('asset/font-awesome/css/font-awesome.min.css')) && ($ZA40Q = file_get_contents($rZJie))) { preg_match_all('/\\.fa-([a-z0-9\\-]+):before/', $ZA40Q, $okKGo); $NTs0I = array_map(function ($n_9y_) { return array('title' => $n_9y_, 'cls' => "fa fa-{$n_9y_}"); }, $okKGo[1]); } goto eQlwu; xe4JR: $l9prs = array(); goto HRniB; CodFT: $l9prs[] = array('title' => '内置图标', 'list' => $NTs0I); goto m0tP3; m0tP3: $NTs0I = array(); goto o0Z8b; HRniB: $NTs0I = array(); goto T8oOA; fUoSR: } }