修复框架权限鉴权报错

This commit is contained in:
2026-04-02 11:04:57 +08:00
parent 2e6e5105cf
commit 9786dab979
8 changed files with 940 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace app\common\validate;
use think\Validate;
class GameConfig extends Validate
{
protected $failException = true;
/**
* 验证规则
*/
protected $rule = [
];
/**
* 提示消息
*/
protected $message = [
];
/**
* 验证场景
*/
protected $scene = [
'add' => [],
'edit' => [],
];
}