diff --git a/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/SwaggerConfig.kt b/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/SwaggerConfig.kt index d65fcf4..c7e2ea5 100644 --- a/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/SwaggerConfig.kt +++ b/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/SwaggerConfig.kt @@ -44,6 +44,7 @@ www.spacedeploy.pw ``` Authorization: token Provider: facebook | kakao |instgram +TimeZone: ex) Asia/Seoul ``` ### Time Formmat diff --git a/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/remind/RemindController.kt b/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/remind/RemindController.kt index dde5580..298bf00 100644 --- a/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/remind/RemindController.kt +++ b/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/remind/RemindController.kt @@ -33,7 +33,7 @@ class RemindController() { @ApiOperation(value = "회고 수정", notes = "회고 수정") @PutMapping() - fun editRemind(request: HttpServletRequest): ResponseEntity { + fun editRemind(editRemindDto: EditRemindDto, request: HttpServletRequest): ResponseEntity { val token = request.getHeader("Authorization") val provider = request.getHeader("Provider") val userInfoJson = getUID(token, provider) @@ -42,7 +42,7 @@ class RemindController() { @ApiOperation(value = "회고 삭제", notes = "회고 삭제") @DeleteMapping() - fun deleteRemind(request: HttpServletRequest) { + fun deleteRemind(editRemindDto: EditRemindDto, request: HttpServletRequest) { val token = request.getHeader("Authorization") val provider = request.getHeader("Provider") val userInfoJson = getUID(token, provider) diff --git a/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/remind/RemindDto.kt b/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/remind/RemindDto.kt index 886b775..67248aa 100644 --- a/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/remind/RemindDto.kt +++ b/src/main/kotlin/kr/co/mashup/spacedeploy/spacedeploy/remind/RemindDto.kt @@ -7,6 +7,10 @@ data class SpecificRemindListDto( val remind: ArrayList? ) +data class EditRemindDto( + val remindId: Long +) + data class RemindListDto( val remindId: Long, val bestEmotion: Int,