bugfix 修复查询站点停车配置信息报错

This commit is contained in:
Lemon
2026-07-08 10:19:23 +08:00
parent df761d1785
commit c9749a1816

View File

@@ -422,6 +422,24 @@ public class PileStationInfoController extends BaseController {
return response;
}
/**
* 获取停车平台配置信息
*
* @return
*/
@GetMapping("/getParkingConfigByStationId/{stationId}")
public RestApiResponse<?> getParkingConfigByStationId(@PathVariable("stationId") String stationId) {
RestApiResponse<?> response = null;
try {
ThirdpartyParkingConfig thirdpartyParkingConfig = parkingConfigService.selectByStationId(stationId);
response = new RestApiResponse<>(thirdpartyParkingConfig);
} catch (Exception e) {
logger.error("获取停车平台配置信息 error,", e);
response = new RestApiResponse<>(e);
}
logger.info("获取停车平台配置信息 result:{}", response);
return response;
}
// public AjaxResult checkStationAmap