1. 调整异常处理类

2. 统一职责分工
3. 清除多余代码
This commit is contained in:
技术老胡
2026-02-24 13:37:35 +08:00
parent d29751cce8
commit d5a134d3a8
59 changed files with 3370 additions and 646 deletions

View File

@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace app\validation;
use support\validation\Validator;
class SystemConfigValidator extends Validator
{
protected array $rules = [
'config_key' => 'string|max:100',
'config_value' => 'nullable|string',
];
protected array $messages = [];
protected array $attributes = [
'config_key' => '配置项键名',
'config_value' => '配置项值',
];
protected array $scenes = [];
}