package com.epmet.feign; import com.epmet.commons.tools.utils.Result; import com.epmet.feign.fallback.LbFeignClientFallback; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; @FeignClient(name = "gov-voice-server", fallback = LbFeignClientFallback.class) public interface LbFeignClient { @PostMapping("/gov/voice/lb/get-host") Result getHost(); }