<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\PicUploader\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Admin\Layout\AdminConfigBuilder; use ModStart\Form\Form; class ConfigController extends Controller { public function index(AdminConfigBuilder $enw1u) { goto PzYXq; mwtPa: $enw1u->formClass('wide'); goto oJmhW; PzYXq: $enw1u->pageTitle('图床模块'); goto mwtPa; pXBUg: $enw1u->switch('PicUploader_MemberMenuApiHide', '隐藏用户接口配置菜单'); goto E0j82; E0j82: return $enw1u->perform(); goto ORlEU; oJmhW: $enw1u->switch('PicUploader_UploadMemberLimitEnable', '图床用户上传限制')->when('=', true, function (Form $hUMbi) { $hUMbi->text('PicUploader_UploadMemberLimit', '用户ID')->help('多个用户ID使用半角逗号分割'); }); goto pXBUg; ORlEU: } }