์ปค์Šคํ…€์–ด๋…ธํ…Œ์ด์…˜

๋™๊ธฐ๋ถ„์˜ ๋„์›€์œผ๋กœ ์ฒ˜์Œ์œผ๋กœ Interceptor ๋ฅผ ์ ์šฉํ•ด๋ณด์•„์„œ ๋‚˜์ค‘์— ์‚ฌ์šฉํ•  ์ผ์ด ์žˆ์„ ๋•Œ ์ฐพ์•„๋ณด๋ ค๊ณ  ์จ๋ด…๋‹ˆ๋‹ค! ์•„๋ž˜์™€ ๊ฐ™์€ Controller ์— Header ์—์„œ ์ธ์ฆ์„ ์œ„ํ•œ ๊ฐ’์„ ๋ฐ›์•„์•ผ์ง€๋งŒ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๋„๋ก ์„ค์ •ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค! @RestController @RequestMapping("/orders") @RequiredArgsConstructor public class OrdersController { private final OrdersService ordersService; @Auth(type = ApiServiceType.HOMEPAGE) @GetMapping public ResponseEntity getOrders( @RequestParam(required = false) String sear..
์• ์ •์“ฐ
'์ปค์Šคํ…€์–ด๋…ธํ…Œ์ด์…˜' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก