From 8e7b21b9d75c4e777625b0ba84317f9e6fbcaf00 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Thu, 1 Aug 2024 11:49:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=BC=80=E7=A5=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BC=98=E5=8C=96=20type=E4=BF=AE=E6=94=B9=E4=B8=BA0,?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/validate/InvoiceHeadValidate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/validate/InvoiceHeadValidate.php b/app/validate/InvoiceHeadValidate.php index ed705ec..982077c 100644 --- a/app/validate/InvoiceHeadValidate.php +++ b/app/validate/InvoiceHeadValidate.php @@ -12,7 +12,7 @@ class InvoiceHeadValidate extends Validate * 验证规则. */ protected $rule = [ - 'type|抬头类型' => 'require|in:1,2', + 'type|抬头类型' => 'require|in:0,1', 'title|抬头名称' => 'require', 'tax_number|税号' => 'require|alphaNum|length:18', 'address|地址' => 'require',