update 浙江省平台接口

This commit is contained in:
Lemon
2024-08-15 15:31:43 +08:00
parent f9dabe16bb
commit bbed186e1a
6 changed files with 104 additions and 45 deletions

View File

@@ -93,6 +93,25 @@ public class ThirdPartyNotificationController extends BaseController {
return result;
}
/**
* 站点功率信息推送
*/
@PostMapping("/notificationStationPowerInfo")
public AjaxResult notificationStationPowerInfo(@RequestBody NotificationDTO dto) {
AjaxResult result;
try {
notificationService.notificationStationPowerInfo(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;
}
/**
* 站点费率变化推送
*/