fix: pc/mobile 批量够买问题
This commit is contained in:
@@ -15,6 +15,7 @@ return [
|
|||||||
'邮箱不能超过:rule个字符' => 'Email cannot exceed :rule characters',
|
'邮箱不能超过:rule个字符' => 'Email cannot exceed :rule characters',
|
||||||
'国家不能为空' => 'Country is required',
|
'国家不能为空' => 'Country is required',
|
||||||
'国家不能超过:rule个字符' => 'Country cannot exceed :rule characters',
|
'国家不能超过:rule个字符' => 'Country cannot exceed :rule characters',
|
||||||
|
'网址格式不正确' => 'URL format is incorrect',
|
||||||
'网址不能超过:rule个字符' => 'URL cannot exceed :rule characters',
|
'网址不能超过:rule个字符' => 'URL cannot exceed :rule characters',
|
||||||
'公司名称不能为空' => 'Company Name is required',
|
'公司名称不能为空' => 'Company Name is required',
|
||||||
'公司名称不能超过:rule个字符' => 'Company name cannot exceed :rule characters',
|
'公司名称不能超过:rule个字符' => 'Company name cannot exceed :rule characters',
|
||||||
@@ -22,8 +23,6 @@ return [
|
|||||||
'公司地址不能超过:rule个字符' => 'Company Address cannot exceed :rule characters',
|
'公司地址不能超过:rule个字符' => 'Company Address cannot exceed :rule characters',
|
||||||
'企业规模不能为空' => 'Enterprise Size is required',
|
'企业规模不能为空' => 'Enterprise Size is required',
|
||||||
'企业规模不能超过:rule个字符' => 'Enterprise Size cannot exceed :rule characters',
|
'企业规模不能超过:rule个字符' => 'Enterprise Size cannot exceed :rule characters',
|
||||||
'网址格式不正确' => 'URL format is incorrect',
|
|
||||||
'网址不能超过:rule个字符' => 'URL cannot exceed :rule characters',
|
|
||||||
'业务类型不能为空' => 'Type of Business is required',
|
'业务类型不能为空' => 'Type of Business is required',
|
||||||
'业务类型不能超过:rule个字符' => 'Type of Business cannot exceed :rule characters',
|
'业务类型不能超过:rule个字符' => 'Type of Business cannot exceed :rule characters',
|
||||||
'公司/组织不能为空' => 'Company/Organization is required',
|
'公司/组织不能为空' => 'Company/Organization is required',
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class ContactUsBulkBuyValidate extends Validate
|
|||||||
*/
|
*/
|
||||||
protected $rule = [
|
protected $rule = [
|
||||||
'corp_name' => 'require|max:128',
|
'corp_name' => 'require|max:128',
|
||||||
'url' => 'max:255',
|
'url' => 'url|max:255',
|
||||||
'first_name' => 'require|max:64',
|
'first_name' => 'require|max:64',
|
||||||
'last_name' => 'require|max:64',
|
'last_name' => 'require|max:64',
|
||||||
'email' => 'require|email|max:128',
|
'email' => 'require|email|max:128',
|
||||||
@@ -33,6 +33,7 @@ class ContactUsBulkBuyValidate extends Validate
|
|||||||
protected $message = [
|
protected $message = [
|
||||||
'corp_name.require' => '公司名称不能为空',
|
'corp_name.require' => '公司名称不能为空',
|
||||||
'corp_name.max' => '公司名称不能超过:rule个字符',
|
'corp_name.max' => '公司名称不能超过:rule个字符',
|
||||||
|
'url.url' => '网址格式不正确',
|
||||||
'url.max' => '网址不能超过:rule个字符',
|
'url.max' => '网址不能超过:rule个字符',
|
||||||
'first_name.require' => '名不能为空',
|
'first_name.require' => '名不能为空',
|
||||||
'first_name.max' => '名不能超过:rule个字符',
|
'first_name.max' => '名不能超过:rule个字符',
|
||||||
|
|||||||
Reference in New Issue
Block a user