message=$message; } /** * Execute the job. * * @return void */ public function handle() { $message=$this->message; $model=$message['model']; $sort=$message['sort']; Serial::where('model',$model) ->where('sort',$sort) ->update([ 'status'=>1 ]); } }