diff --git a/src/main/java/com/example/fiurinee/domain/inputMessage/controller/ModelController.java b/src/main/java/com/example/fiurinee/domain/inputMessage/controller/ModelController.java index 69521db..522307b 100644 --- a/src/main/java/com/example/fiurinee/domain/inputMessage/controller/ModelController.java +++ b/src/main/java/com/example/fiurinee/domain/inputMessage/controller/ModelController.java @@ -42,7 +42,7 @@ public class ModelController implements ModelApi { public ResponseEntity> inputMent(@PathVariable("id") Long id, @RequestBody RequestMentDto mentDto){ String ment = mentDto.ment(); - inputMessageService.saveInputMessage(id, ment); + String url = "http://3.106.186.161/api/recommend"; int value = LocalDateTime.now().getMonth().getValue(); @@ -99,6 +99,8 @@ public ResponseEntity selectFlower(@PathVariable ("m @PathVariable ("flowerId") Long flowerId, @RequestBody String ment){ + inputMessageService.saveInputMessage(memberId,ment); + String url = "http://3.106.186.161/api/flower_color"; Member byId = memberService.findById(memberId); Flower flower = flowerService.findById(flowerId);