<?php namespace app\common\validate; use think\Validate; class ConveyPlanAddr extends Validate{ protected $rule = [ 'addr_id|位置' => 'require', 'sort|排序' => 'require', ]; protected $message = [ ]; protected $scene = [ ]; }