File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/main/kotlin/goodspace/teaming/payment Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11package goodspace.teaming.payment.controller
22
33import goodspace.teaming.global.security.getUserId
4+ import goodspace.teaming.payment.dto.PaymentRoomIdDto
45import goodspace.teaming.payment.dto.PaymentVerifyRespondDto
56import goodspace.teaming.payment.service.PaymentService
67import org.springframework.http.MediaType
@@ -70,7 +71,7 @@ class PaymentController(
7071 }
7172
7273 @PostMapping(" /cancelAuth" )
73- fun requestCancel (@RequestBody roomId : String ): ResponseEntity <Void > {
74- return paymentService.requestCancel(roomId.toLong())
74+ fun requestCancel (@RequestBody paymentRoomIdDto : PaymentRoomIdDto ): ResponseEntity <Void > {
75+ return paymentService.requestCancel(paymentRoomIdDto. roomId.toLong())
7576 }
7677}
Original file line number Diff line number Diff line change 1+ package goodspace.teaming.payment.dto
2+
3+ class PaymentRoomIdDto (
4+ val roomId : String
5+ )
You can’t perform that action at this time.
0 commit comments