Skip to content

Commit 01aaf48

Browse files
authored
Merge pull request #201 from DevKor-github/develop
main <- develop
2 parents ad71530 + 3ac4c66 commit 01aaf48

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/main/java/devkor/com/teamcback/domain/operatingtime/service/OperatingService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ public class OperatingService {
4141
private static final List<Long> alwaysOpenBuildings = List.of(0L, 23L, 27L, 60L);
4242

4343
// 출입 권한 필요 혹은 정보가 없는 건물
44-
private static final List<Long> alwaysAccessRequiredOrWithoutInfoBuildings = List.of(1L, 16L, 17L, 19L, 29L, 31L, 35L, 36L, 37L, 38L, 52L, 54L);
44+
private static final List<Long> alwaysAccessRequiredOrWithoutInfoBuildings = List.of(1L, 16L, 17L, 19L, 29L, 31L, 35L, 36L, 37L, 38L, 52L, 54L,
45+
62L, 63L, 64L, 65L, 66L, 67L, 68L, 69L, 70L, 71L, 72L);
4546
private static final String DEFAULT_OPERATING_TIME = "00:00-23:59";
4647

4748
/**

src/main/java/devkor/com/teamcback/domain/search/contoller/SearchController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public CommonResponse<SearchMaskIndexByPlaceRes> searchMaskIndexByPlace(
188188
})
189189
@GetMapping("/buildings/{buildingId}")
190190
public CommonResponse<SearchBuildingDetailRes> searchBuildingDetail(
191-
@Parameter(description = "사용자정보", required = false)
191+
@Parameter(description = "사용자정보")
192192
@AuthenticationPrincipal UserDetailsImpl userDetail,
193193
@Parameter(name = "buildingId", description = "건물 id", example = "1", required = true)
194194
@PathVariable Long buildingId) {
@@ -209,7 +209,7 @@ public CommonResponse<SearchBuildingDetailRes> searchBuildingDetail(
209209
})
210210
@GetMapping("/place/{placeId}")
211211
public CommonResponse<SearchPlaceDetailRes> searchPlaceDetail(
212-
@Parameter(description = "사용자정보", required = false)
212+
@Parameter(description = "사용자정보")
213213
@AuthenticationPrincipal UserDetailsImpl userDetail,
214214
@Parameter(name = "placeId", description = "placeId", example = "1", required = true)
215215
@PathVariable Long placeId) {

src/main/java/devkor/com/teamcback/global/jwt/JwtAuthorizationFilter.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ public class JwtAuthorizationFilter extends OncePerRequestFilter {
3434
new AntPathRequestMatcher("/api/migration"),
3535
new AntPathRequestMatcher("/api/koyeon/**"),
3636
new AntPathRequestMatcher("/api/routes/**"),
37-
new AntPathRequestMatcher("/api/search/**", HttpMethod.GET.name()),
37+
new AntPathRequestMatcher("/api/search", HttpMethod.GET.name()),
38+
new AntPathRequestMatcher("/api/search/buildings", HttpMethod.GET.name()),
39+
new AntPathRequestMatcher("/api/search/buildings/**/facilities/**", HttpMethod.GET.name()),
40+
new AntPathRequestMatcher("/api/search/buildings/**/floor/**", HttpMethod.GET.name()),
41+
new AntPathRequestMatcher("/api/search/facilities", HttpMethod.GET.name()),
42+
new AntPathRequestMatcher("/api/search/place/**/mask", HttpMethod.GET.name()),
3843
new AntPathRequestMatcher("/api/users/login/**"));
3944

4045
private final JwtUtil jwtUtil;

0 commit comments

Comments
 (0)