<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Site\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Admin\Layout\AdminConfigBuilder; use Module\Vendor\Provider\SiteTemplate\SiteTemplateProvider; class ConfigController extends Controller { public function setting(AdminConfigBuilder $a1cww) { goto XFVAS; r954w: $a1cww->color('sitePrimaryColor', '网站主色调'); goto lSFK5; exz0q: $a1cww->text('siteBeian', 'ICP备案编号'); goto Fis8j; vqGEX: $a1cww->image('siteLogo', '网站Logo'); goto LCDvp; NG1Md: $a1cww->text('siteUrl', '网站地址')->help('如 https://example.com 主要用于后台任务地址转换'); goto MsLmP; MsLmP: $a1cww->text('siteKeywords', '网站关键词'); goto XXi0c; FXCff: $a1cww->text('Site_ContactAddress', '地址'); goto QxiP3; Fis8j: $a1cww->text('siteBeianGonganText', '公安备案文字'); goto iOXRM; QxiP3: $a1cww->image('Site_ContactQrcode', '联系二维码')->help('可传带二维码的公众号/微信/QQ等，方便用户扫码联系'); goto uAiXT; WkRsz: $a1cww->text('Site_ContactPhone', '电话'); goto FXCff; LCDvp: $a1cww->text('siteName', '网站名称'); goto s4VEB; dsp21: $a1cww->layoutSeparator('联系信息'); goto XB0gD; zCb0c: $a1cww->image('siteFavIco', '网站ICO'); goto xK_11; uwRTR: $a1cww->layoutSeparator('备案信息'); goto exz0q; XFVAS: $a1cww->pageTitle('基本设置'); goto fUEKt; H00fn: return $a1cww->perform(); goto UMFLc; KAZiM: $a1cww->textarea('Site_CopyrightOthers', '其他备案信息')->help('支持HTML'); goto dsp21; fUEKt: $a1cww->layoutSeparator('网站信息'); goto vqGEX; iOXRM: $a1cww->text('siteBeianGonganLink', '公安备案链接'); goto KAZiM; s4VEB: $a1cww->text('siteSlogan', '网站副标题'); goto L0dXY; la5QV: $a1cww->formClass('wide'); goto H00fn; lSFK5: $a1cww->select('siteTemplate', '网站模板')->options(SiteTemplateProvider::map()); goto uwRTR; uAiXT: $a1cww->layoutSeparator('其他配置'); goto OAuLg; XB0gD: $a1cww->text('Site_ContactEmail', '邮箱'); goto WkRsz; xK_11: $a1cww->layoutSeparator('模板主题'); goto r954w; XXi0c: $a1cww->textarea('siteDescription', '网站描述'); goto zCb0c; OAuLg: $a1cww->complexFieldsList('Site_PublicInternalUrlMap', '内外网链接节流映射')->fields(array(array('name' => 'public', 'title' => '外网地址', 'type' => 'text', 'defaultValue' => '', 'placeholder' => 'https://public.example.com', 'tip' => ''), array('name' => 'internal', 'title' => '内网地址', 'type' => 'text', 'defaultValue' => '', 'placeholder' => 'https://internal.example.com', 'tip' => '')))->help('在使用第三方存储时，程序拉取外网地址会造成流量浪费，使用此功能可将外网地址映射为内网地址，节省流量'); goto la5QV; L0dXY: $a1cww->text('siteDomain', '网站域名')->help('如 example.com'); goto NG1Md; UMFLc: } }