Skip to content

Commit

Permalink
Merge pull request #12 from catchroom/develop
Browse files Browse the repository at this point in the history
Feat : ๋„ค๊ณ ํ•˜๊ธฐ
  • Loading branch information
sungjiwoon authored Jan 18, 2024
2 parents 8df7035 + 50d6c39 commit 36a27d0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/catchroom/ChatApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@EnableFeignClients
@SpringBootApplication
public class ChatApplication {
// Bean ์ƒ๋ช…์ฃผ๊ธฐ๋ฅผ ์ด์šฉํ•œ timezone ์„ค์ •

@PostConstruct
public void started() {
TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,22 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
* ์ฑ„ํŒ… ์„œ๋ฒ„ ์ž…์žฅ (์‹œํ๋ฆฌํ‹ฐ X)
* userId๋กœ user ์ •๋ณด๋ฅผ ๊ฐ€์ ธ์˜ค๋Š” ์ƒํ™ฉ
* ๋น„๋กœ๊ทธ์ธ ์‚ฌ์šฉ์ž๋„ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ์Œ.
*
*
*/
@FeignClient(
name = "mainFeign", url = "https://catchroom.xyz/v1",
configuration = FeignConfig.class
)
public interface MainFeignClient {

// user์˜ ๋‹‰๋„ค์ž„
@RequestMapping(method = RequestMethod.GET, value = "/accommodation/{accommodationId}")
AccommodationResponse getAccommodationDto(@PathVariable Long accommodationId);



}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
@AllArgsConstructor
@Getter
public enum MessageType {
ENTER, TALK, QUIT
ENTER, TALK, QUIT, NEGO_REQ, NEGO_ALLOW, NEGO_DENIED
}

0 comments on commit 36a27d0

Please sign in to comment.