File: /www/wwwroot//crm.jmfdbn.com/application/admin/validate/AuthGroup.php
<?php
// +----------------------------------------------------------------------
// | Yzncms [ 御宅男工作室 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2007 http://yzncms.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 御宅男 <530765310@qq.com>
// +----------------------------------------------------------------------
namespace app\admin\validate;
use \think\Validate;
/**
* 用户组验证器
*/
class AuthGroup extends Validate
{
//定义验证规则
protected $rule = [
'title' => 'require',
];
//定义验证提示
protected $message = [
'title.require' => '用户组名称不得为空',
];
//定义验证场景
protected $scene = [
];
}