File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/gcms/v3 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
import com .gcms .v3 .global .redis .RedisUtil ;
10
10
import com .gcms .v3 .global .security .jwt .JwtTokenProvider ;
11
11
import jakarta .servlet .http .HttpServletRequest ;
12
+ import jakarta .transaction .Transactional ;
12
13
import lombok .RequiredArgsConstructor ;
13
14
import org .springframework .stereotype .Service ;
14
15
15
16
@ RequiredArgsConstructor
16
17
@ Service
18
+ @ Transactional
17
19
public class LogoutServiceImpl implements LogoutService {
18
20
19
21
private final UserUtil userUtil ;
Original file line number Diff line number Diff line change 1
1
package com .gcms .v3 .global .redis ;
2
2
3
- import jakarta .transaction .Transactional ;
4
3
import lombok .RequiredArgsConstructor ;
5
4
import org .springframework .context .annotation .Bean ;
6
5
import org .springframework .context .annotation .Configuration ;
@@ -20,7 +19,6 @@ public RedisConnectionFactory redisConnectionFactory() {
20
19
}
21
20
22
21
@ Bean
23
- @ Transactional
24
22
public RedisTemplate <String , Object > redisTemplate () {
25
23
RedisTemplate <String , Object > template = new RedisTemplate <>();
26
24
template .setValueSerializer (new StringRedisSerializer ());
You can’t perform that action at this time.
0 commit comments