<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Util; use ModStart\Core\Assets\AssetsUtil; use ModStart\Core\Input\Request; use ModStart\Core\Util\EnvUtil; use ModStart\Module\ModuleManager; class ApiUtil { public static function config() { goto bvv6f; HoRdJ: $avcnU['siteName'] = $MK0sx->get('siteName'); goto k5bTs; evtS3: $avcnU['siteKeywords'] = $MK0sx->get('siteKeywords'); goto RpjvA; eaI0v: $avcnU['siteLogo'] = AssetsUtil::fixFull($MK0sx->get('siteLogo')); goto HoRdJ; hdaMN: $avcnU['dataUpload'] = array('chunkSize' => EnvUtil::env('uploadMaxSize'), 'category' => array()); goto AmbcI; ZIJs2: $avcnU['siteBase'] = Request::domainUrl(); goto eaI0v; B8TwJ: $avcnU['dataUpload'] = array(); goto hdaMN; GhYd3: return $avcnU; goto K6pgp; wI7Rc: $avcnU = array(); goto ZIJs2; GKc_E: $avcnU['siteDomain'] = $MK0sx->get('siteDomain'); goto evtS3; kBDLI: $avcnU['payAlipayOn'] = $MK0sx->getBoolean('payAlipayOn'); goto spGFV; spGFV: $avcnU['payAlipayWebOn'] = $MK0sx->getBoolean('payAlipayWebOn'); goto E1ofJ; E1ofJ: $avcnU['payWechatOn'] = $MK0sx->getBoolean('payWechatOn'); goto NHDzl; hcNRq: foreach ($pUSV0 as $BEJrC => $Nfckq) { $avcnU['dataUpload']['category'][$BEJrC] = array('maxSize' => $Nfckq['maxSize'], 'extensions' => $Nfckq['extensions']); } goto GhYd3; WtBmQ: $avcnU['siteCDN'] = AssetsUtil::fixFull(AssetsUtil::cdn(), false); goto q3m5K; bvv6f: $MK0sx = modstart_config(); goto wI7Rc; tDomu: $avcnU['siteFavIco'] = AssetsUtil::fixFull($MK0sx->get('siteFavIco')); goto AEpTT; AmbcI: $pUSV0 = config('data.upload'); goto hcNRq; AEpTT: $avcnU['siteBeian'] = $MK0sx->get('siteBeian'); goto WtBmQ; k5bTs: $avcnU['siteSlogan'] = $MK0sx->get('siteSlogan'); goto GKc_E; q3m5K: $avcnU['modules'] = ModuleManager::listAllEnableModuleNames(); goto kBDLI; NHDzl: $avcnU['payMemberMoneyOn'] = $MK0sx->getBoolean('payMemberMoneyOn'); goto B8TwJ; RpjvA: $avcnU['siteDescription'] = $MK0sx->get('siteDescription'); goto tDomu; K6pgp: } }