diff --git a/noti-service/src/main/java/com/waither/notiservice/api/NotificationController.java b/noti-service/src/main/java/com/waither/notiservice/api/NotificationController.java index c4e09f7f..a8419997 100644 --- a/noti-service/src/main/java/com/waither/notiservice/api/NotificationController.java +++ b/noti-service/src/main/java/com/waither/notiservice/api/NotificationController.java @@ -1,17 +1,15 @@ package com.waither.notiservice.api; -import com.waither.notiservice.api.response.NotificationResponse; import com.waither.notiservice.api.request.LocationDto; import com.waither.notiservice.global.response.ApiResponse; import com.waither.notiservice.service.NotificationService; +import com.waither.notiservice.utils.RedisUtils; import io.swagger.v3.oas.annotations.Operation; import jakarta.validation.Valid; import lombok.RequiredArgsConstructor; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; -import java.util.List; - @RequiredArgsConstructor @RequestMapping("/api/v1/noti") @RestController @@ -19,6 +17,8 @@ public class NotificationController { private final NotificationService notificationService; + private final RedisUtils redisUtils; + @Operation(summary = "Get notification", description = "알림 목록 조회하기") @GetMapping("") public ApiResponse getNotifications(Long userId) { @@ -43,4 +43,5 @@ public void sendGoOutAlarm(Long userId) { public void checkCurrentAlarm(@RequestBody @Valid LocationDto locationDto) { notificationService.checkCurrentAlarm(locationDto); } + }