<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Photo\Admin\Controller; use Illuminate\Routing\Controller; use ModStart\Admin\Layout\AdminConfigBuilder; use ModStart\Form\Form; use Module\Photo\Type\PhotoVisitType; class ConfigController extends Controller { public function setting(AdminConfigBuilder $a1cww) { goto cUIp4; Qtg9o: return $a1cww->perform(); goto lwK4M; cUIp4: $a1cww->pageTitle('访问设置'); goto AYqdK; AYqdK: $a1cww->radio('modulePhotoVisitType', '访问权限')->optionType(PhotoVisitType::class)->when('=', PhotoVisitType::VISIT_PASSWORD, function (Form $ukDy3) { $ukDy3->text('modulePhotoVisitPassword', '访问密码'); }); goto Qtg9o; lwK4M: } }