You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.9 KiB
72 lines
2.9 KiB
<?php
|
|
|
|
return [
|
|
'auth' => [
|
|
'u_empty' => '用户名不能为空',
|
|
'p_empty' => '密码不能为空',
|
|
'u_p_error' => '账号或密码错误',
|
|
'u_disabled' => '账号已被禁用'
|
|
],
|
|
'admin_user' => [
|
|
'l_a_empty' => '登录账号不能为空',
|
|
'l_a_alpha_num' => '登录账号只能是英文字母和数字',
|
|
'l_a_between' => '登录账号长度必须4-20',
|
|
'r_empty' => '用户角色不能为空',
|
|
's_p_empty' => '所属停车场不能为空',
|
|
'p_empty' => '初始密码不能为空',
|
|
'p_between' => '初始密码长度必须12-30',
|
|
'email' => '电邮地址格式错误',
|
|
's_empty' => '状态不能为空',
|
|
's_in' => '状态至必须是0或1'
|
|
],
|
|
'admin_role' => [
|
|
'n_empty' => '角色名称不能为空',
|
|
'n_max' => '角色名称最多50个字符',
|
|
'm_empty' => '角色权限不能为空',
|
|
'm_array' => '角色权限数据必须是数组',
|
|
'r_max' => '角色名称最多50个字符'
|
|
],
|
|
'admin_config' => [
|
|
'content_empty' => '配置数据不能为空',
|
|
'parking_lot_id_empty' => '本地停车场ID配置不能为空',
|
|
'parking_lot_sum_empty' => '车场总车位数配置不能为空',
|
|
'parking_lot_sum_num' => '车场总车位数配置必须是数字',
|
|
'zombie_car_empty' => '僵尸车停车时长配置不能为空',
|
|
'zombie_car_num' => '僵尸车停车时长配置必须是数字'
|
|
],
|
|
'id_empty' => '编号不能为空',
|
|
'id_numeric' => '编号必须是数字',
|
|
'admin_translation' => [
|
|
'en_empty' => '英文翻译不能为空',
|
|
'zh_cn_empty' => '中文简体翻译不能为空',
|
|
'zh_tw_empty' => '中文繁体翻译不能为空'
|
|
],
|
|
'admin_floor' => [
|
|
'n_empty' => '楼层名称不能为空',
|
|
'n_max' => '楼层名称最多50个字符',
|
|
'r_array' => '楼层名称数据必须是数组',
|
|
],
|
|
'upload' => [
|
|
'i_empty' => '图片文件不能为空',
|
|
'i_image' => '上传文件必须是图片',
|
|
'i_max' => '上传图片文件不可超过10MB'
|
|
],
|
|
'admin_list_vip' => [
|
|
'l_empty' => '车牌号码不能为空',
|
|
'l_max' => '车牌号码最多20个字符',
|
|
'file_empty' => '导入文件不能为空',
|
|
'file_mimes' => '导入文件类型必须是xlsx|xls|csv',
|
|
'file_max' => '导入文件最大不超过2048'
|
|
],
|
|
'space_attributes' => [
|
|
'a_empty' => '车位属性名称不能为空',
|
|
'i_empty' => '汇入图示不能为空'
|
|
],
|
|
'space_type' => [
|
|
'n_empty' => '车位类型名称不能为空'
|
|
],
|
|
'license_plate' => [
|
|
'n_empty' => '车牌号码不能为空',
|
|
'type_empty' => '车位类型不能为空'
|
|
]
|
|
];
|
|
|