haungxing
2 years ago
4 changed files with 64 additions and 2 deletions
@ -0,0 +1,28 @@
|
||||
package com.hnac.hzims.operational.station.feign; |
||||
|
||||
import com.hnac.hzims.operational.OperationalConstants; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
|
||||
/** |
||||
* @ClassName IStationPushConfigClient |
||||
* @description: |
||||
* @author: hx |
||||
* @create: 2023-07-13 20:03 |
||||
* @Version 4.0 |
||||
**/ |
||||
@FeignClient(value = OperationalConstants.APP_NAME) |
||||
public interface IStationPushConfigClient { |
||||
|
||||
String API_PREFIX = "/feign/station/pushConfig"; |
||||
String GET_FDP_STATION_TYPE_BY_CODE = API_PREFIX + "/getFdpStationTypeByCode"; |
||||
|
||||
/** |
||||
* 根据站点编码获取FDP站点类型 |
||||
* @param stationCode 站点编码 |
||||
* @return |
||||
*/ |
||||
@GetMapping(GET_FDP_STATION_TYPE_BY_CODE) |
||||
Integer getFdpStationTypeByCode(@RequestParam String stationCode); |
||||
} |
Loading…
Reference in new issue