新增 浙江省平台推送历史充电订单接口

This commit is contained in:
Lemon
2024-08-19 14:29:37 +08:00
parent 723be8d54b
commit 381fed9d29
6 changed files with 129 additions and 14 deletions

View File

@@ -93,6 +93,26 @@ public class ThirdPartyNotificationController extends BaseController {
return result;
}
/**
* 历史充电订单信息推送
*/
@PostMapping("/notificationChargeOrderInfoHistory")
public AjaxResult notificationChargeOrderInfoHistory(@RequestBody NotificationDTO dto) {
AjaxResult result;
try {
notificationService.notificationChargeOrderInfoHistory(dto);
result = AjaxResult.success();
} catch (BusinessException e) {
logger.error("历史充电订单信息推送失败", e);
result = AjaxResult.error(e.getMessage());
} catch (Exception e) {
logger.error("历史充电订单信息推送失败", e);
result = AjaxResult.error();
}
return result;
}
/**
* 站点功率信息推送
*/