Skip to content

Commit

Permalink
Merge pull request #56 from Tave-13th-Project-Team-4-Fiurinee/feature…
Browse files Browse the repository at this point in the history
…/model

refactor: 유저의 inputMessage가 저장 되는 위치 변경
  • Loading branch information
ss7622 authored Jul 12, 2024
2 parents 6a00c10 + e7387a0 commit 12a4cd1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class ModelController implements ModelApi {
public ResponseEntity<List<ResponseMentDto>> 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();
Expand Down Expand Up @@ -99,6 +99,8 @@ public ResponseEntity<ResponseHarmonyWitnMentDto> 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);
Expand Down

0 comments on commit 12a4cd1

Please sign in to comment.