feat: 최근 공지사항 API 추가

This commit is contained in:
2025-07-25 21:42:31 +09:00
parent fcb2ca1917
commit 2659adb7a9
2 changed files with 4 additions and 0 deletions

View File

@@ -35,4 +35,7 @@ class ServiceNoticeController(private val service: ServiceNoticeService) {
@GetMapping
fun getNoticeList(pageable: Pageable, timezone: String) = ApiResponse.ok(service.getNoticeList(pageable, timezone))
@GetMapping("/latest")
fun getLatestNotice() = ApiResponse.ok(service.getLatestNotice())
}