This commit is contained in:
YAS\29473
2025-05-23 16:26:54 +08:00
parent 4064a17c93
commit 08589536a0
9 changed files with 292 additions and 4 deletions

View File

@@ -533,6 +533,29 @@ public class LianLianController extends ThirdPartyBaseController {
return CommonResult.failed("推送订单结算信息发生异常");
}
/**
* 推送站点累计电量接口
* @param thirdpartyType
* @return
*/
@GetMapping("/v1/notification_station_electStatsInfo/{thirdpartyType}")
public RestApiResponse<?> notification_station_electStatsInfo(@PathVariable("thirdpartyType") String thirdpartyType) {
logger.info("推送站点累计电量接口 params:{}", thirdpartyType);
RestApiResponse<?> response = null;
try {
String result = platformLogic.notificationStationElectStatsInfo(thirdpartyType);
response = new RestApiResponse<>(result);
}catch (BusinessException e){
logger.error("推送站点累计电量接口 error",e);
response = new RestApiResponse<>(e.getCode(), e.getMessage());
}catch (Exception e) {
logger.error("推送站点累计电量接口 error", e);
response = new RestApiResponse<>(e);
}
logger.info("推送站点累计电量接口 result:{}", response);
return response;
}
/**
* 推送充电状态