refactor: 修改验证多语言提示
This commit is contained in:
@@ -31,18 +31,18 @@ class ContactUsDistributorValidate extends Validate
|
||||
*/
|
||||
protected $message = [
|
||||
'corp_name.require' => '公司名称不能为空',
|
||||
'corp_name.max' => '公司名称不能超过64个字符',
|
||||
'corp_name.max' => '公司名称不能超过:rule个字符',
|
||||
'email.require' => '邮箱不能为空',
|
||||
'email.email' => '邮箱格式不正确',
|
||||
'email.max' => '邮箱不能超过128个字符',
|
||||
'email.max' => '邮箱不能超过:rule个字符',
|
||||
'phone.require' => '电话号码不能为空',
|
||||
'phone.max' => '电话号码不能超过64个字符',
|
||||
'phone.max' => '电话号码不能超过:rule个字符',
|
||||
'business_type.require' => '业务类型不能为空',
|
||||
'business_type.max' => '业务类型不能超过128个字符',
|
||||
'business_type.max' => '业务类型不能超过:rule个字符',
|
||||
'enterprise_size.require' => '企业规模不能为空',
|
||||
'enterprise_size.max' => '企业规模不能超过128个字符',
|
||||
'enterprise_size.max' => '企业规模不能超过:rule个字符',
|
||||
'address.require' => '公司地址不能为空',
|
||||
'address.max' => '公司地址不能超过255个字符',
|
||||
'address.max' => '公司地址不能超过:rule个字符',
|
||||
'message.require' => '留言不能为空',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user