debug the nikarayan job

This commit is contained in:
2025-09-08 11:52:37 +03:30
parent dbd6c89345
commit 2fa8269c1f
4 changed files with 7 additions and 9 deletions

View File

@@ -571,8 +571,8 @@ class RoadObservationController extends Controller
// }
// $url = "https://riws.rmto.ir/WebServices/NRPTrafficStatus.asmx?wsdl";
try {
// $result = $nikarayanService->updateRoadObservedInfoByNikarayan($request, $roadObserved, $files_path);
$result = UpdateRoadObservedInfoByNikarayanJob::dispatch($request, $roadObserved, $files_path);
// $result = $nikarayanService->updateRoadObservedInfoByNikarayan($request->only(['rms-status', 'rms-description']), $roadObserved, $files_path);
$result = UpdateRoadObservedInfoByNikarayanJob::dispatch($request->only(['rms-status', 'rms-description']), $roadObserved, $files_path)->onQueue('nikarayan');
} catch (SoapFault $e) {
$msg = "error in send to nikarayan at" . date("Y-m-d H:i:s") . "\n" . 'rms: error in get road observation webservice babe!!!!' . "\n";