From 96e39abfab72ec1d65ed46dc24a09e778b3790ac Mon Sep 17 00:00:00 2001 From: Sewook Date: Wed, 12 Jun 2024 20:50:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B6=9C=EC=84=9D/=EB=AF=B8=EC=B6=9C?= =?UTF-8?q?=EC=84=9D=20=EB=AA=85=EB=8B=A8=20api=20=EA=B6=8C=ED=95=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95,=20=EC=B6=9C=EC=84=9D=EC=B2=B4=ED=81=AC=20?= =?UTF-8?q?=EC=97=AC=EB=B6=80=20=EC=B4=88=EA=B8=B0=ED=99=94=20=EC=8B=9C?= =?UTF-8?q?=EA=B0=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/user/application/query/UserQueryServiceImpl.java | 2 +- .../project/qvick/global/security/config/SecurityConfig.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/project/qvick/domain/user/application/query/UserQueryServiceImpl.java b/src/main/java/com/project/qvick/domain/user/application/query/UserQueryServiceImpl.java index e8435fc6..fc67a35f 100644 --- a/src/main/java/com/project/qvick/domain/user/application/query/UserQueryServiceImpl.java +++ b/src/main/java/com/project/qvick/domain/user/application/query/UserQueryServiceImpl.java @@ -43,7 +43,7 @@ public List checkUsers(PageRequest pageRequest) { @Override @Transactional - @Scheduled(cron = "0 30 20 * * *") // 매일 오후 8시에 실행 + @Scheduled(cron = "0 0 1 * * *") // 매일 오후 8시에 실행 public void updateChecked() { userQueryRepository.updateChecked(); } diff --git a/src/main/java/com/project/qvick/global/security/config/SecurityConfig.java b/src/main/java/com/project/qvick/global/security/config/SecurityConfig.java index 2b66f9b3..8cddb7cc 100644 --- a/src/main/java/com/project/qvick/global/security/config/SecurityConfig.java +++ b/src/main/java/com/project/qvick/global/security/config/SecurityConfig.java @@ -44,12 +44,12 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, CorsConfigurat .requestMatchers("/auth/**").permitAll() .requestMatchers(POST,"/attendance/code").permitAll() .requestMatchers(DELETE,"/user").permitAll() - .requestMatchers(GET,"/attendance/non-check").permitAll() .requestMatchers("/outing-admin/**").hasAnyAuthority(ADMIN,TEACHER) .requestMatchers("/sleepover-admin/**").hasAnyAuthority(ADMIN,TEACHER) .requestMatchers(GET,"/attendance/check").hasAnyAuthority(ADMIN,TEACHER) - .requestMatchers(GET,"/attendance/non-check").hasAnyAuthority(ADMIN,TEACHER) + .requestMatchers(GET,"/user-admin/non-check").hasAnyAuthority(ADMIN,TEACHER) + .requestMatchers(GET,"/user-admin/check").hasAnyAuthority(ADMIN,TEACHER) .requestMatchers(GET,"/user-admin/find-all").hasAnyAuthority(ADMIN,TEACHER) .requestMatchers(GET,"/user-admin/search").hasAnyAuthority(ADMIN,TEACHER) .requestMatchers(GET,"/user-admin/update-check").hasAnyAuthority(ADMIN,TEACHER)