You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
423 B
12 lines
423 B
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();
|
|
}
|
|
|