'require|integer', 'mobile|联系电话' => 'require|mobile', 'name|客户姓名' => 'require', 'gender|客户性别' => 'require', 'type|来访方式' => 'require', 'current_status|当前状态' => 'require', 'check_status|报备状态' => 'require', 'consultant_id|指定顾问' => 'require' ]; protected $message = []; protected $scene = [ 'add' => ['mobile', 'type','name', 'gender'], 'update' => ['id','type', 'name', 'gender'], 'phone' => ['mobile'], 'status' => ['id', 'current_status'], 'check' => ['id', 'check_status'] ]; }