fix the fms service return value

This commit is contained in:
2024-04-27 13:19:41 +03:30
parent 54408759d8
commit 5f5c08fb67
2 changed files with 2 additions and 4 deletions

View File

@@ -47,9 +47,7 @@ class FMSService
$output = (object)['ResultCode' => 0];
return json_encode([
[$output]
]);
return json_encode([$output]);
}
public function getVehicleLastPoints(Request $request)

View File

@@ -440,7 +440,7 @@ Route::get('axis-report', 'CoridorsController@axisReportByLatAndLng')->name('api
// Route::get('data-road-observed', 'DevelopController@update_road_observed_times');
// Route::post('fuckingMostaphaAndDanesh', 'DevelopController@fuckingMostaphaAndDanesh');
// Route::get('axis-report-excel', 'CoridorsController@axisReportExcelRedirector');
Route::get('axis-report-excel', 'CoridorsController@axisReportExcelRedirector');
// Route::post('/proposal/update/{proposal}', 'ProposalController@update');
// Route::get('/proposal/histories/{proposal}', 'ProposalController@getHistory');