Skip to content

Commit

Permalink
[FIX]: request param value 중복 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
phonil committed Dec 31, 2024
1 parent ae352cf commit 2cdee18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ public ResponseEntity<?> searchRestaurantsWithFilter(
@Parameter(description = "식당 검색 결과를 페이지별로 조회합니다. **Page는 0부터 시작합니다!**", required = true) @RequestParam(value = "page") Integer page,
@Parameter(description = "사용자의 위도입니다.", required = true) @RequestParam(value = "latitude") String latitude,
@Parameter(description = "사용자의 경도입니다.", required = true) @RequestParam(value = "longitude") String longitude,
@Parameter(description = "검색어입니다.", required = true) @RequestParam(value = "latitude") String searchWord,
@Parameter(description = "정렬 기준입니다. 리뷰, 스크랩, 거리", required = true) @RequestParam(value = "longitude") String filter
@Parameter(description = "검색어입니다.", required = true) @RequestParam(value = "searchWord") String searchWord,
@Parameter(description = "정렬 기준입니다. 리뷰, 스크랩, 거리", required = true) @RequestParam(value = "filter") String filter
) {
return restaurantService.searchRestaurantsWithFilter(page, latitude, longitude, searchWord, filter);
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
servlet:
encoding:
charset: UTF-8
enabled: true
force: true
# servlet:
# encoding:
# charset: UTF-8
# enabled: true
# force: true

# 오류 처리
server:
Expand Down

0 comments on commit 2cdee18

Please sign in to comment.