Browse Source

申请开票接口优化 type修改为0,1 two

master
wanghongjun 2 years ago
parent
commit
e8a38099c5
  1. 4
      app/validate/InvoiceHeadValidate.php

4
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']
];

Loading…
Cancel
Save