<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Site\Api\Controller; use Illuminate\Routing\Controller; use ModStart\Core\Assets\AssetsUtil; use ModStart\Core\Input\Response; class SiteController extends Controller { public function contact() { goto o16kH; sx7zE: $avcnU['qrcode'] = modstart_config('Site_ContactQrcode', ''); goto jTuZl; O6HSi: $avcnU['email'] = modstart_config('Site_ContactEmail', ''); goto fRFPx; jTuZl: if ($avcnU['qrcode']) { $avcnU['qrcode'] = AssetsUtil::fixFull($avcnU['qrcode']); } goto Ohoe1; fRFPx: $avcnU['phone'] = modstart_config('Site_ContactPhone', ''); goto SV7Pb; o16kH: $avcnU = array(); goto O6HSi; Ohoe1: return Response::generateSuccessData($avcnU); goto Zwbb9; SV7Pb: $avcnU['address'] = modstart_config('Site_ContactAddress', ''); goto sx7zE; Zwbb9: } }