refactor: 修改验证多语言提示
This commit is contained in:
@@ -27,11 +27,11 @@ class ContactUsMessageValidate extends Validate
|
||||
*/
|
||||
protected $message = [
|
||||
'name.require' => '姓名不能为空',
|
||||
'name.max' => '姓名不能超过64个字符',
|
||||
'name.max' => '姓名不能超过:rule个字符',
|
||||
'email.require' => '邮箱不能为空',
|
||||
'email.email' => '邮箱格式不正确',
|
||||
'email.max' => '邮箱不能超过128个字符',
|
||||
'email.max' => '邮箱不能超过:rule个字符',
|
||||
'content.require' => '问题不能为空',
|
||||
'content.max' => '问题不能超过1024个字符'
|
||||
'content.max' => '问题不能超过:rule个字符'
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user