fix the fms service return value
This commit is contained in:
@@ -47,9 +47,7 @@ class FMSService
|
|||||||
|
|
||||||
$output = (object)['ResultCode' => 0];
|
$output = (object)['ResultCode' => 0];
|
||||||
|
|
||||||
return json_encode([
|
return json_encode([$output]);
|
||||||
[$output]
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getVehicleLastPoints(Request $request)
|
public function getVehicleLastPoints(Request $request)
|
||||||
|
|||||||
@@ -440,7 +440,7 @@ Route::get('axis-report', 'CoridorsController@axisReportByLatAndLng')->name('api
|
|||||||
// Route::get('data-road-observed', 'DevelopController@update_road_observed_times');
|
// Route::get('data-road-observed', 'DevelopController@update_road_observed_times');
|
||||||
// Route::post('fuckingMostaphaAndDanesh', 'DevelopController@fuckingMostaphaAndDanesh');
|
// 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::post('/proposal/update/{proposal}', 'ProposalController@update');
|
||||||
// Route::get('/proposal/histories/{proposal}', 'ProposalController@getHistory');
|
// Route::get('/proposal/histories/{proposal}', 'ProposalController@getHistory');
|
||||||
|
|||||||
Reference in New Issue
Block a user