user = $user; } /** * Execute the job. * * @return void */ public function handle() { $imParams = [ 'CheckItem' => [ [ 'UserID' => (string) $this->user->id, ] ], ]; $vars = app('im')->send('im_open_login_svc', 'account_check', $imParams); $this->user->remember_token = $vars['ResultItem'][0]['AccountStatus']; $this->user->save(); } }