🐛 修复 BUG

This commit is contained in:
WispX
2021-07-28 10:21:39 +08:00
parent c5bed1e7a4
commit e4e7e57580
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -23,7 +23,9 @@ class Users extends Validate
protected $message = [
'username.require' => '{%User name cannot be empty}',
'username.min' => '{%The user name cannot be less than three characters}',
'username.max' => '{%The user name character length exceeds the limit}',
'username.alphaDash' => '{%User names can only be letters, numbers, and underscores_ And dash-}',
'username.unique' => '{%User name already exists, please replace}',
'nickname.max' => '{%The length of nickname characters exceeds the limit}',
'default_folder.max' => '{%Default upload folder name length exceeds limit}',
+2
View File
@@ -324,6 +324,8 @@ return [
'The maximum length of the role group name is 30 characters' => 'The maximum length of the role group name is 30 characters',
'The role group name can only be Chinese characters, letters and numbers' => 'The role group name can only be Chinese characters, letters and numbers',
'User name cannot be empty' => 'User name cannot be empty',
'The user name cannot be less than three characters' => 'The user name cannot be less than three characters',
'User names can only be letters, numbers, and underscores_ And dash-' => 'User names can only be letters, numbers, and underscores_ And dash-',
'The user name character length exceeds the limit' => 'User name character length exceeds',
'User name already exists, please replace' => 'User name already exists, please replace',
'The length of nickname characters exceeds the limit' => 'Nickname character length exceeds',
+2
View File
@@ -324,6 +324,8 @@ return [
'The maximum length of the role group name is 30 characters' => '角色组名称长度最大30个字符',
'The role group name can only be Chinese characters, letters and numbers' => '角色组名称只能是汉字、字母和数字',
'User name cannot be empty' => '用户名不能为空',
'The user name cannot be less than three characters' => '用户名不能少于三个字符',
'User names can only be letters, numbers, and underscores_ And dash-' => '用户名只能是字母、数字和下划线_及破折号-',
'The user name character length exceeds the limit' => '用户名字符长度超出',
'User name already exists, please replace' => '用户名已存在,请更换',
'The length of nickname characters exceeds the limit' => '昵称字符长度超出',