diff --git a/src/main/kotlin/com/yapp/web2/domain/bookmark/controller/BookmarkController.kt b/src/main/kotlin/com/yapp/web2/domain/bookmark/controller/BookmarkController.kt index 2284eb7..8a015e2 100644 --- a/src/main/kotlin/com/yapp/web2/domain/bookmark/controller/BookmarkController.kt +++ b/src/main/kotlin/com/yapp/web2/domain/bookmark/controller/BookmarkController.kt @@ -60,7 +60,6 @@ class BookmarkController( @RequestParam(required = false) @ApiParam(value = "북마크가 저장될 폴더 ID", example = "12") folderId: Long?, @ApiParam(value = "북마크 생성 리스트 정보") @RequestBody dto: BookmarkDto.AddBookmarkListDto ): ResponseEntity { - println(folderId) val token = ControllerUtil.extractAccessToken(request) bookmarkService.addBookmarkList(token, folderId, dto) return ResponseEntity.status(HttpStatus.OK).body(Message.SAVED) diff --git a/src/main/kotlin/com/yapp/web2/domain/bookmark/controller/BookmarkInterfaceController.kt b/src/main/kotlin/com/yapp/web2/domain/bookmark/controller/BookmarkInterfaceController.kt index 08024f5..87c81cd 100644 --- a/src/main/kotlin/com/yapp/web2/domain/bookmark/controller/BookmarkInterfaceController.kt +++ b/src/main/kotlin/com/yapp/web2/domain/bookmark/controller/BookmarkInterfaceController.kt @@ -8,7 +8,11 @@ import io.swagger.annotations.ApiOperation import io.swagger.annotations.ApiParam import org.springframework.http.HttpStatus import org.springframework.http.ResponseEntity -import org.springframework.web.bind.annotation.* +import org.springframework.web.bind.annotation.PostMapping +import org.springframework.web.bind.annotation.RequestBody +import org.springframework.web.bind.annotation.RequestMapping +import org.springframework.web.bind.annotation.RequestParam +import org.springframework.web.bind.annotation.RestController import javax.servlet.http.HttpServletRequest @RestController @@ -26,7 +30,6 @@ class BookmarkInterfaceController( @RequestParam(required = false) @ApiParam(value = "북마크가 저장될 폴더 ID", example = "12") folderId: Long?, @ApiParam(value = "북마크 생성 리스트 정보") @RequestBody dto: BookmarkDto.AddBookmarkListDto ): ResponseEntity { - println(folderId) val token = ControllerUtil.extractAccessToken(request) personalBookmarkService.addBookmarkList(token, folderId, dto) return ResponseEntity.status(HttpStatus.OK).body(Message.SAVED)