Store the customized Shopro mall so it can be kept on the remote.
Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace addons\shopro\validate\user;
|
||||
|
||||
use think\Validate;
|
||||
|
||||
class Invoice extends Validate
|
||||
{
|
||||
protected $rule = [
|
||||
'type' => 'require',
|
||||
'name' => 'require',
|
||||
];
|
||||
|
||||
protected $message = [
|
||||
'type.require' => '请选择发票类型',
|
||||
'name.require' => '请填写发票名称',
|
||||
];
|
||||
|
||||
|
||||
protected $scene = [
|
||||
'add' => ['type', 'name'],
|
||||
'edit' => ['name']
|
||||
];
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户