From e7387a0aa1e52aaff116ea936680ab1a2bd6eac0 Mon Sep 17 00:00:00 2001 From: Lee junbeom Date: Fri, 12 Jul 2024 21:59:01 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=9C=A0=EC=A0=80=EC=9D=98=20input?= =?UTF-8?q?Message=EA=B0=80=20=EC=A0=80=EC=9E=A5=20=EB=90=98=EB=8A=94=20?= =?UTF-8?q?=EC=9C=84=EC=B9=98=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/inputMessage/controller/ModelController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);