fix: 修复字典bug、缓存默认使用file

This commit is contained in:
Ying
2022-11-29 11:42:55 +08:00
parent f19f236e9a
commit 1c0c886937
8 changed files with 126 additions and 108 deletions

View File

@@ -31,6 +31,9 @@ class Admin extends Validate
'name.max' => '用户名不能超过12个字符',
'name.filters' => '用户名包含禁止注册字符',
'name.chsAlphaNum' => '用户名只能是汉字、字母和数字',
'pwd.require' => '密码不能为空',
'pwd.min' => '密码不能少于6个字符',
'pwd.max' => '密码不能超过64个字符',
];
// 测试验证场景