<?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 PBKRL; OBLVF: return Response::generateSuccessData($cwaKT); goto g31ki; nURhw: $cwaKT['email'] = modstart_config('Site_ContactEmail', ''); goto YcP0r; YcP0r: $cwaKT['phone'] = modstart_config('Site_ContactPhone', ''); goto w7gFL; JMrp0: if ($cwaKT['qrcode']) { $cwaKT['qrcode'] = AssetsUtil::fixFull($cwaKT['qrcode']); } goto OBLVF; PBKRL: $cwaKT = array(); goto nURhw; w7gFL: $cwaKT['address'] = modstart_config('Site_ContactAddress', ''); goto gCKdy; gCKdy: $cwaKT['qrcode'] = modstart_config('Site_ContactQrcode', ''); goto JMrp0; g31ki: } }