更新目录结构

This commit is contained in:
2023-10-21 21:18:46 +08:00
parent 664295167d
commit 1153b13299
298 changed files with 3032 additions and 2173 deletions

View File

@@ -0,0 +1,27 @@
<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace app\validate\admin\auth;
use think\Validate;
class Index extends Validate{
protected $rule = [
'username' => 'require',
'password' => 'require'
];
protected $message = [
'password.require' => '登录密码必须',
'username.require' => '登录用户名必须'
];
protected $scene = [
'login' => ['username', 'password'],
'resetpasswd' => ['username', 'password']
];
}