From 554a64d2160804bce9c814b22fcc96b55155d519 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Thu, 21 Apr 2022 11:03:44 +0800 Subject: [PATCH] setter --- app/validate/BusinessValidate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/validate/BusinessValidate.php b/app/validate/BusinessValidate.php index c121571..8cb465b 100644 --- a/app/validate/BusinessValidate.php +++ b/app/validate/BusinessValidate.php @@ -8,8 +8,8 @@ class BusinessValidate extends Validate { protected $rule = [ 'type' => 'require|gt:0', - 'business_name|商家名称' => 'require|chs|length:3,32', - 'business_subtitle|商家简称' => 'require|chs|length:3,32', + 'business_name|商家名称' => 'require|length:3,32', + 'business_subtitle|商家简称' => 'require|length:3,32', 'business_license|营业执照' => 'require|length:3,150', 'contact_name|联系人' => 'require|length:1,32', 'contact_phone|联系电话' => 'require|mobile',