<?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 iv_ei; oJRgv: $smBDO['address'] = modstart_config('Site_ContactAddress', ''); goto tUNdO; stHm7: return Response::generateSuccessData($smBDO); goto hR_JL; K6zi5: $smBDO['phone'] = modstart_config('Site_ContactPhone', ''); goto oJRgv; iv_ei: $smBDO = array(); goto PeTkD; PeTkD: $smBDO['email'] = modstart_config('Site_ContactEmail', ''); goto K6zi5; tUNdO: $smBDO['qrcode'] = modstart_config('Site_ContactQrcode', ''); goto kULaq; kULaq: if ($smBDO['qrcode']) { $smBDO['qrcode'] = AssetsUtil::fixFull($smBDO['qrcode']); } goto stHm7; hR_JL: } }