无关风月
2025-03-26 3b4bd94a21864b9b638395c95c467bb82a2f157e
ruoyi-api/ruoyi-api-integration/src/main/java/com/ruoyi/integration/api/feignClient/TCECClient.java
@@ -9,20 +9,28 @@
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);
   
   
   
@@ -64,6 +72,17 @@
    * @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);
}