From 321328434d7f954aed5ac4e0f0d25c137533539d Mon Sep 17 00:00:00 2001 From: JuHyun419 Date: Sat, 10 Sep 2022 15:49:26 +0900 Subject: [PATCH] =?UTF-8?q?[#140]=20refactor:=20print=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web2/domain/bookmark/controller/BookmarkController.kt | 1 - .../bookmark/controller/BookmarkInterfaceController.kt | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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)