<?php

namespace app\validate;

use think\Validate;

class Order extends Validate
{
    protected $rule = [
        'order_id|订单号'          => 'require',
        'express_id|快递公司'       => 'require|number',
        'express_number|快递单号'     => 'require',
    ];

    protected $scene = [
        'deliver' => ['order_id', 'express_id', 'express_number'], //发货
    ];
}