24 lines
579 B
PHP
24 lines
579 B
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (c) 2021 勾股工作室
|
|
* @license https://opensource.org/licenses/Apache-2.0
|
|
* @link https://www.gougucms.com
|
|
*/
|
|
|
|
namespace app\admin\validate;
|
|
use think\Validate;
|
|
|
|
class SupplyBrokerageValidate extends Validate
|
|
{
|
|
protected $rule = [
|
|
'mer_id' => 'require',
|
|
'fa_supply_chain_id' => 'require',
|
|
'order_sn' => 'require',
|
|
];
|
|
|
|
protected $message = [
|
|
'mer_id.require' => '商户 id不能为空',
|
|
'fa_supply_chain_id.require' => '供应链团队id不能为空',
|
|
'order_sn.require' => '订单编号不能为空',
|
|
];
|
|
} |