- 로그인 없이 조회가 가능하도록 수정
This commit is contained in:
2025-03-22 04:39:54 +09:00
parent ec0252bae0
commit f9f9b9aab9
3 changed files with 5 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ class ServiceNoticeController(private val service: ServiceNoticeService) {
@DeleteMapping("/{id}")
@PreAuthorize("hasRole('ADMIN')")
fun deleteCan(@PathVariable id: Long) = ApiResponse.ok(service.delete(id), "삭제되었습니다.")
fun deleteNotice(@PathVariable id: Long) = ApiResponse.ok(service.delete(id), "삭제되었습니다.")
@GetMapping
fun getNoticeList(pageable: Pageable, timezone: String) = ApiResponse.ok(service.getNoticeList(pageable, timezone))