<?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 WBWJD; VUdhl: $Pg57y['qrcode'] = modstart_config('Site_ContactQrcode', ''); goto a3VTz; WzaAc: $Pg57y['phone'] = modstart_config('Site_ContactPhone', ''); goto lzWCT; lzWCT: $Pg57y['address'] = modstart_config('Site_ContactAddress', ''); goto VUdhl; cq5Et: return Response::generateSuccessData($Pg57y); goto gsC4i; gXkWc: $Pg57y['email'] = modstart_config('Site_ContactEmail', ''); goto WzaAc; WBWJD: $Pg57y = array(); goto gXkWc; a3VTz: if ($Pg57y['qrcode']) { $Pg57y['qrcode'] = AssetsUtil::fixFull($Pg57y['qrcode']); } goto cq5Et; gsC4i: } }