Skip to content

Commit

Permalink
refactor :: 어노테이션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ta2ye0n committed Nov 7, 2024
1 parent 46a9d0c commit 916008b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
import com.gcms.v3.global.redis.RedisUtil;
import com.gcms.v3.global.security.jwt.JwtTokenProvider;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.transaction.Transactional;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@RequiredArgsConstructor
@Service
@Transactional
public class LogoutServiceImpl implements LogoutService {

private final UserUtil userUtil;
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/gcms/v3/global/redis/RedisConfig.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.gcms.v3.global.redis;

import jakarta.transaction.Transactional;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -20,7 +19,6 @@ public RedisConnectionFactory redisConnectionFactory() {
}

@Bean
@Transactional
public RedisTemplate<String, Object> redisTemplate() {
RedisTemplate<String, Object> template = new RedisTemplate<>();
template.setValueSerializer(new StringRedisSerializer());
Expand Down

0 comments on commit 916008b

Please sign in to comment.