From e8a38099c58ac21b22417104ad264da3a4fa15bf Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Thu, 1 Aug 2024 11:50:58 +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=20=20two?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/validate/InvoiceHeadValidate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/validate/InvoiceHeadValidate.php b/app/validate/InvoiceHeadValidate.php index 982077c..3c85f81 100644 --- a/app/validate/InvoiceHeadValidate.php +++ b/app/validate/InvoiceHeadValidate.php @@ -37,8 +37,8 @@ class InvoiceHeadValidate extends Validate * 验证场景. */ protected $scene = [ - 'type1' => ['title','tax_number','address','telephone','bank_name','bank_account'], - 'type2' => ['title','tax_number'], + 'type0' => ['title','tax_number','address','telephone','bank_name','bank_account'], + 'type1' => ['title','tax_number'], 'type' => ['type'] ];