Skip to content

Commit

Permalink
Merge pull request #27 from KusitmsHDmedi/feature/26-survey
Browse files Browse the repository at this point in the history
[feat] 설문조사 api 구현
  • Loading branch information
sebbbin authored Sep 16, 2023
2 parents d60389f + 9d0918d commit 854aa4a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ public ResponseEntity<SurveyResultResponseDto> submitSurvey(@ModelAttribute Surv
SurveyResultResponseDto result = surveyService.processSurvey(surveyDTO);
return ResponseEntity.ok(result);
}

// 설문 결과를 전송
@GetMapping("/get-survey-result")
public ResponseEntity<Object> getSurveyResult() {
SurveyResultResponseDto result = surveyService.getSurveyResult();
return ResponseEntity.ok(result);
}

// 모든 설문 데이터를 조회
@GetMapping("/")
public ResponseEntity<List<Survey>> getAllSurveys() {
Expand Down

0 comments on commit 854aa4a

Please sign in to comment.