diff --git a/src/main/java/com/dailyon/auctionservice/controller/BidAdminController.java b/src/main/java/com/dailyon/auctionservice/controller/BidAdminController.java index 163e565..42023ef 100644 --- a/src/main/java/com/dailyon/auctionservice/controller/BidAdminController.java +++ b/src/main/java/com/dailyon/auctionservice/controller/BidAdminController.java @@ -23,11 +23,11 @@ public Mono start( } // 경매 종료 - @PatchMapping("/bids/end/{auctionId}") - public Mono end( - @RequestHeader(name = "role") String role, - @PathVariable String auctionId - ) { - return bidFacade.end(auctionId); - } +// @PatchMapping("/bids/end/{auctionId}") +// public Mono end( +// @RequestHeader(name = "role") String role, +// @PathVariable String auctionId +// ) { +// return bidFacade.end(auctionId); +// } } diff --git a/src/main/java/com/dailyon/auctionservice/facade/BidFacade.java b/src/main/java/com/dailyon/auctionservice/facade/BidFacade.java index f3eee52..e0cfe09 100644 --- a/src/main/java/com/dailyon/auctionservice/facade/BidFacade.java +++ b/src/main/java/com/dailyon/auctionservice/facade/BidFacade.java @@ -47,14 +47,14 @@ public Mono start(String auctionId) { .then(); } - public Mono end(String auctionId) { - log.info("이것도 나오면안댐"); - return auctionService - .endAuction(auctionId) - .flatMap( - auction -> { - ChatPayload payload = ChatPayload.of(ChatCommand.AUCTION_CLOSE, auctionId); - return chatHandler.broadCast(payload).then(); - }); - } +// public Mono end(String auctionId) { +// log.info("이것도 나오면안댐"); +// return auctionService +// .endAuction(auctionId) +// .flatMap( +// auction -> { +// ChatPayload payload = ChatPayload.of(ChatCommand.AUCTION_CLOSE, auctionId); +// return chatHandler.broadCast(payload).then(); +// }); +// } }