You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
17
hyhproject/common/validate/Invoices.php
Executable file
17
hyhproject/common/validate/Invoices.php
Executable file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace wstmart\common\validate;
|
||||
use think\Validate;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 发票信息验证器
|
||||
*/
|
||||
class Invoices extends Validate{
|
||||
protected $rule = [
|
||||
['invoiceHead' ,'require','请输入发票抬头'],
|
||||
];
|
||||
|
||||
protected $scene = [
|
||||
'add' => ['invoiceHead'],
|
||||
'edit' => ['invoiceHead'],
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user