mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-15 03:27:59 +08:00
bugfix 修复查询站点停车配置信息报错
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user