Skip to content

Commit

Permalink
增加redis操作类
Browse files Browse the repository at this point in the history
  • Loading branch information
huaiyang committed Jan 14, 2020
1 parent fd93351 commit 7c64f72
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 @@ -18,7 +18,7 @@
*/
@Slf4j
@Component
public class RedisManager {
public class RedisOpt {
@Resource
private RedisTemplate<String, Object> redisTemplate;

Expand Down
2 changes: 1 addition & 1 deletion redis-support/src/main/resources/META-INF/spring.factories
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.skrshop.redissupport.config.RedisTemplateConfig,\
com.skrshop.redissupport.config.RedisManager
com.skrshop.redissupport.config.RedisOpt

0 comments on commit 7c64f72

Please sign in to comment.