Skip to content

Commit

Permalink
feat : api 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
programmerDH-github committed Sep 9, 2023
1 parent af49e1c commit 1497436
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main/java/com/bside/BSIDE/contents/web/QuestionController.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,6 @@ public ResponseEntity<Integer> countAnsweredQuestionsThisMonth(@PathVariable("wr
return ResponseEntity.ok(count);
}

/* 오늘 답변한 질문 개수 조회 */
@GetMapping("/answered/day/{writer}")
@Operation(summary = "오늘 답변한 질문 개수 조회")
public ResponseEntity<Integer> countAnsweredQuestionsToday(@PathVariable("writer") String writer) {
Integer count = questionService.countAnsweredQuestionsToday(writer);
String message = String.format("오늘 답변한 질문 개수는 " + count + "개 입니다.");
System.out.println(message);
return ResponseEntity.ok(count);
}

/* 선택한 월에 답변한 질문 개수 조회 */
@GetMapping("/answeredCount/{email}/{year}/{month}")
@Operation(summary = "선택한 월에 답변한 질문 개수 조회")
Expand Down

0 comments on commit 1497436

Please sign in to comment.