refactor : 게시글 클라이언트 컴포넌트 value 변경
This commit is contained in:
@@ -4,7 +4,7 @@ import org.springframework.cloud.openfeign.FeignClient
|
|||||||
import org.springframework.web.bind.annotation.GetMapping
|
import org.springframework.web.bind.annotation.GetMapping
|
||||||
import org.springframework.web.bind.annotation.PathVariable
|
import org.springframework.web.bind.annotation.PathVariable
|
||||||
|
|
||||||
@FeignClient(value = "postClient", url = "https://jsonplaceholder.typicode.com/")
|
@FeignClient(value = "post", url = "https://jsonplaceholder.typicode.com/")
|
||||||
interface PostClient {
|
interface PostClient {
|
||||||
|
|
||||||
@GetMapping("/posts")
|
@GetMapping("/posts")
|
||||||
|
|||||||
Reference in New Issue
Block a user