Pu Zhibing
2025-11-27 414a3acae0686fd39f9296aec3dad512ac2e2f74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.ruoyi.integration.api.feignClient;
 
 
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.integration.api.factory.ChengDuJianGuanClientFallbackFactory;
import com.ruoyi.integration.api.vo.NotificationStationFeeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
 
@FeignClient(contextId = "ChengDuJianGuanClient", value = ServiceNameConstants.JIANGUAN_SERVICE, fallbackFactory = ChengDuJianGuanClientFallbackFactory.class)
public interface ChengDuJianGuanClient {
 
 
    /**
     * 充电站信息变化推送
     * @param siteId
     * @return
     */
    @PostMapping("/chengdu/jianguan/notificationStationInfo")
    R notificationStationInfo(@RequestParam("siteId") Integer siteId);
 
 
    /**
     * 站点费率变化推送
     * @param vo
     * @return
     */
    @PostMapping("/chengdu/jianguan/notificationStationFee")
    R notificationStationFee(@RequestBody NotificationStationFeeVo vo);
}