master
wangxinglong 2022-04-21 11:03:44 +08:00
parent 4f4816142a
commit 554a64d216
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ class BusinessValidate extends Validate
{ {
protected $rule = [ protected $rule = [
'type' => 'require|gt:0', 'type' => 'require|gt:0',
'business_name|商家名称' => 'require|chs|length:3,32', 'business_name|商家名称' => 'require|length:3,32',
'business_subtitle|商家简称' => 'require|chs|length:3,32', 'business_subtitle|商家简称' => 'require|length:3,32',
'business_license|营业执照' => 'require|length:3,150', 'business_license|营业执照' => 'require|length:3,150',
'contact_name|联系人' => 'require|length:1,32', 'contact_name|联系人' => 'require|length:1,32',
'contact_phone|联系电话' => 'require|mobile', 'contact_phone|联系电话' => 'require|mobile',