Skip to content

Commit

Permalink
Fix : mainClient 핫픽스
Browse files Browse the repository at this point in the history
  • Loading branch information
sungjiwoon committed Jan 19, 2024
1 parent 80177ab commit 01005ed
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;
import org.springframework.web.bind.annotation.RequestParam;

/**
* 채팅 서버 입장 (시큐리티 X)
Expand All @@ -19,7 +20,7 @@
*
*/
@FeignClient(
name = "mainFeign", url = "http://localhost:8081/v1",
name = "mainFeign", url = "https://catchroom.xyz/v1",
configuration = FeignConfig.class
)
public interface MainFeignClient {
Expand All @@ -30,4 +31,10 @@ public interface MainFeignClient {
@RequestMapping(method = RequestMethod.GET, value = "/chat/room/list/chat")
List<ChatRoomListGetResponse> getChatRoomList(@RequestHeader("Authorization") String accessToken);

@RequestMapping(method = RequestMethod.DELETE, value = "/chat/room")
String deleteChatRoom(
@RequestHeader("Authorization") String accessToken,
@RequestParam(name = "roomId") String roomId
);

}

0 comments on commit 01005ed

Please sign in to comment.