nk-lihaink-cn/app/admin/validate/SupplyBrokerageValidate.php
2023-03-13 17:57:40 +08:00

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' => '订单编号不能为空',
];
}