Merge pull request 'feat: 최근 공지사항 API 추가' (#337) from test into main

Reviewed-on: #337
This commit is contained in:
klaus 2025-07-28 02:16:19 +00:00
commit c7925c1706
2 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class SecurityConfig(
.antMatchers(HttpMethod.GET, "/event").permitAll()
.antMatchers(HttpMethod.GET, "/live/recommend").permitAll()
.antMatchers("/ad-tracking/app-launch").permitAll()
.antMatchers(HttpMethod.GET, "/notice/latest").permitAll()
.anyRequest().authenticated()
.and()
.build()

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())
}