Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
|
2659adb7a9 |
src/main/kotlin/kr/co/vividnext/sodalive
|
@ -92,6 +92,7 @@ class SecurityConfig(
|
||||||
.antMatchers(HttpMethod.GET, "/event").permitAll()
|
.antMatchers(HttpMethod.GET, "/event").permitAll()
|
||||||
.antMatchers(HttpMethod.GET, "/live/recommend").permitAll()
|
.antMatchers(HttpMethod.GET, "/live/recommend").permitAll()
|
||||||
.antMatchers("/ad-tracking/app-launch").permitAll()
|
.antMatchers("/ad-tracking/app-launch").permitAll()
|
||||||
|
.antMatchers(HttpMethod.GET, "/notice/latest").permitAll()
|
||||||
.anyRequest().authenticated()
|
.anyRequest().authenticated()
|
||||||
.and()
|
.and()
|
||||||
.build()
|
.build()
|
||||||
|
|
|
@ -35,4 +35,7 @@ class ServiceNoticeController(private val service: ServiceNoticeService) {
|
||||||
|
|
||||||
@GetMapping
|
@GetMapping
|
||||||
fun getNoticeList(pageable: Pageable, timezone: String) = ApiResponse.ok(service.getNoticeList(pageable, timezone))
|
fun getNoticeList(pageable: Pageable, timezone: String) = ApiResponse.ok(service.getNoticeList(pageable, timezone))
|
||||||
|
|
||||||
|
@GetMapping("/latest")
|
||||||
|
fun getLatestNotice() = ApiResponse.ok(service.getLatestNotice())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue