<?php
 namespace Module\VipArticle\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Admin\Layout\AdminConfigBuilder; class ConfigController extends Controller { public function setting(AdminConfigBuilder $builder) { $builder->pageTitle('付费内容设置'); $builder->switch('moduleVipArticleEnable', '开启付费内容'); $builder->number('moduleVipArticleSearchMaxPage', '付费内容搜索最大显示页数')->help('默认为20'); $builder->formClass('wide'); return $builder->perform(); } }