会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
空气微量
博客园
首页
新随笔
联系
订阅
管理
2021年3月
spingboot整合security
摘要: 1 package com.zy.configuration; 2 import org.springframework.beans.factory.annotation.Autowired; 3 import org.springframework.context.annotation.Bean;
阅读全文
posted @ 2021-03-02 16:55 空气微量
阅读(38)
评论(0)
推荐(0)
2021年2月
Redis实例化pojo
摘要: 1 package com.learn.jredis.pojo; 2 3 import java.io.Serializable; 4 5 public class User implements Serializable { 6 7 private static final long serial
阅读全文
posted @ 2021-02-20 14:07 空气微量
阅读(47)
评论(0)
推荐(0)
RedisConfig自定义RedisTemplate
摘要: 1 @Configuration 2 public class RedisConfig { 3 @Bean 4 public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory factory) { 5 RedisTe
阅读全文
posted @ 2021-02-20 13:57 空气微量
阅读(91)
评论(0)
推荐(0)
RedisUtil工具类
摘要: 1 import org.springframework.beans.factory.annotation.Autowired; 2 import org.springframework.data.redis.core.RedisTemplate; 3 import org.springframew
阅读全文
posted @ 2021-02-20 13:48 空气微量
阅读(33)
评论(0)
推荐(0)
公告