import_id = $import_id; } /** * Execute the job. * * @return void */ public function handle() { $import_id = $this->import_id; $import = DB::table('import_jobs')->where('id', $import_id)->first(); Log::debug(print_r($import, true)); $token = DB::table('users')->select('access_token')->where('id', $import->user_id)->first()->access_token; echo $token; $response = LambdaRequest::postrequest($import->service, $import->module.'/import', ['import_id' => $import->id ], $token ); echo '
'; print_r($response); exit;
}
}