<?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 I2MTv; y6mPJ: $U8wjN['qrcode'] = modstart_config('Site_ContactQrcode', ''); goto JHNYB; qpWKM: $U8wjN['address'] = modstart_config('Site_ContactAddress', ''); goto y6mPJ; JHNYB: if ($U8wjN['qrcode']) { $U8wjN['qrcode'] = AssetsUtil::fixFull($U8wjN['qrcode']); } goto b2MK1; b2MK1: return Response::generateSuccessData($U8wjN); goto aSQQO; DkvQ_: $U8wjN['phone'] = modstart_config('Site_ContactPhone', ''); goto qpWKM; qrN63: $U8wjN['email'] = modstart_config('Site_ContactEmail', ''); goto DkvQ_; I2MTv: $U8wjN = array(); goto qrN63; aSQQO: } }