<?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 RIYUC; RIYUC: $MGhSY = array(); goto Yjsws; R5XXr: $MGhSY['phone'] = modstart_config('Site_ContactPhone', ''); goto AuJau; Yjsws: $MGhSY['email'] = modstart_config('Site_ContactEmail', ''); goto R5XXr; JosR9: if ($MGhSY['qrcode']) { $MGhSY['qrcode'] = AssetsUtil::fixFull($MGhSY['qrcode']); } goto GUCFe; B_eJh: $MGhSY['qrcode'] = modstart_config('Site_ContactQrcode', ''); goto JosR9; AuJau: $MGhSY['address'] = modstart_config('Site_ContactAddress', ''); goto B_eJh; GUCFe: return Response::generateSuccessData($MGhSY); goto cfRaX; cfRaX: } }