mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 推送充电状态
|
||||
|
||||
Reference in New Issue
Block a user