Skip to content

Commit

Permalink
!hotfix : 리다이렉트 API 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboysj committed Sep 7, 2024
1 parent 7d0ec27 commit 9c8b18a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/main/java/FITPET/dev/controller/ComparisonController.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,19 +117,19 @@ public ResponseEntity<Void> getComparisonView(
return ResponseEntity.status(HttpStatus.FOUND).build();
}

@GetMapping("/comparison/form")
@Operation(summary = "견적 요청 화면을 조회하는 API", description = "사용자의 기본 정보를 파라미터로 넘긴 후, 견적서 생성 화면을 조회한다")
public ApiResponse<?> getComparisonForm(
@RequestParam(value = "petName") String petName,
@RequestParam(value = "petType") String petType,
@RequestParam(value = "petSpecies") String petSpecies,
@RequestParam(value = "petAge") String petAge,
@RequestParam(value = "phoneNumber") String phoneNumber,
@RequestParam(value = "referSite", required = false) String referSite,
@RequestParam(value = "referUserId", required = false) String referUserId
){
return ApiResponse.SuccessResponse(SuccessStatus.GET_COMPARISON_VIEW);
}
// @GetMapping("/comparison/form")
// @Operation(summary = "견적 요청 화면을 조회하는 API", description = "사용자의 기본 정보를 파라미터로 넘긴 후, 견적서 생성 화면을 조회한다")
// public ApiResponse<?> getComparisonForm(
// @RequestParam(value = "petName") String petName,
// @RequestParam(value = "petType") String petType,
// @RequestParam(value = "petSpecies") String petSpecies,
// @RequestParam(value = "petAge") String petAge,
// @RequestParam(value = "phoneNumber") String phoneNumber,
// @RequestParam(value = "referSite", required = false) String referSite,
// @RequestParam(value = "referUserId", required = false) String referUserId
// ){
// return ApiResponse.SuccessResponse(SuccessStatus.GET_COMPARISON_VIEW);
// }

@DeleteMapping("/admin/comparison/{comparisonId}")
@Operation(summary = "견적 요청 삭제 API", description = "특정 견적 요청 정보를 삭제")
Expand Down

0 comments on commit 9c8b18a

Please sign in to comment.