<?php
 namespace App\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Admin\Layout\AdminConfigBuilder; class ConfigController extends Controller { public function about(AdminConfigBuilder $builder) { $builder->pageTitle('通知设置'); $builder->richHtml('siteAboutHome', '公司介绍'); return $builder->perform(); } public function contact(AdminConfigBuilder $builder) { $builder->pageTitle('通知设置'); $builder->text('contactTel', '电话'); $builder->text('contactEmail', '邮箱'); $builder->text('contactQQ', 'QQ'); $builder->text('contactAddress', '地址'); return $builder->perform(); } }