<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\ServiceBar\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Admin\Layout\AdminConfigBuilder; use ModStart\Form\Form; class ConfigController extends Controller { public function setting(AdminConfigBuilder $NXyDB) { goto s2kt5; i2TSZ: $NXyDB->switch('ServiceBar_SidebarEnable', '侧边栏')->when('=', '1', function (Form $EmQdh) { $EmQdh->text('ServiceBar_QQ', 'QQ号')->help(''); $EmQdh->image('ServiceBar_QQImage', 'QQ二维码')->help(''); $EmQdh->image('ServiceBar_WechatImage', '微信二维码')->help(''); $EmQdh->text('ServiceBar_Email', '邮箱')->help(''); })->help('开启后，网站将出现客服联系侧边栏'); goto R1pWm; R1pWm: $NXyDB->formClass('wide'); goto QOwu2; QOwu2: return $NXyDB->perform(); goto jy0Ab; s2kt5: $NXyDB->pageTitle('客服功能'); goto i2TSZ; jy0Ab: } }