| | |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2025/1/24 10:32 |
| | | */ |
| | | @FeignClient(contextId = "TCECClient", value = ServiceNameConstants.INTEGRATION_SERVICE, fallbackFactory = TCECClientFallbackFactory.class) |
| | | public interface TCECClient { |
| | | |
| | | |
| | | /** |
| | | * 推送充换电站信息 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/evcs/v1.0/supervise_notification_station_info") |
| | | R superviseNotificationStationInfo(@RequestParam Integer id); |
| | | |
| | | /** |
| | | * 接口状态变化后推送给第三方 |
| | | * @return |
| | | */ |
| | | @PostMapping("/evcs/v1.0/pushChargingGunStatus") |
| | | R pushChargingGunStatus(@RequestParam("id") Integer id, @RequestParam("status") Integer status); |
| | | R pushChargingGunStatus(@RequestParam("fullNumber") String fullNumber, @RequestParam("status") Integer status); |
| | | |
| | | |
| | | |
| | |
| | | * @param startChargeSeq |
| | | * @return |
| | | */ |
| | | @PostMapping("/notificationChargeOrderInfo") |
| | | @PostMapping("/evcs/v1.0/notificationChargeOrderInfo") |
| | | R notificationChargeOrderInfo(@RequestParam("startChargeSeq") String startChargeSeq, @RequestParam("operatorId") Integer operatorId); |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 站点变更推送通知 |
| | | * @param siteIds |
| | | * @return |
| | | */ |
| | | @PostMapping("/evcs/v1.0/notificationStationChange") |
| | | R notificationStationChange(@RequestParam("siteIds") List<Integer> siteIds); |
| | | } |