<?php
 namespace Module\ConfigSite\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Admin\Layout\AdminConfigBuilder; class PayController extends Controller { public function alipay(AdminConfigBuilder $builder) { $builder->pageTitle('支付宝'); $builder->switch('payAlipayOn', '开启支付宝付款'); $builder->text('payAlipayPartnerId', '卖家ID(PartnerId)')->help('如 2085364735263489'); $builder->text('payAlipaySellerId', '卖家ID(SellerId)')->help('如 seller@example.com'); $builder->text('payAlipayKey', '安全Key')->help('如 pdehgmdjeubnghtyddktjm174hdj'); $builder->formClass('wide'); return $builder->perform(); } }