redis
兔老大的胡萝卜
这个作者很懒,什么都没留下…
展开
-
关于倒计时
首先是vue页面的实现 //24小时倒计时 timeCount(){ if(this.s == 0 && this.m == 0 && this.h == 0){ return false } --this.s; if(this.s<0){ --this.m; this.s=59; } if(this.m<0){ --this.h; this.m=59 } if(this.h<0){原创 2020-12-10 14:31:55 · 145 阅读 · 0 评论 -
关于自定义cachemanager报错的问题
springboot1.x的cachemanager和2.x的不同, 1.x @Bean public CacheManager cacheManager(@SuppressWarnings("rawtypes") RedisTemplate redisTemplate) { RedisCacheManager cacheManager = new RedisCacheManager(redisTemplate); //设置缓存过期时间 cacheM原创 2020-06-27 12:44:07 · 790 阅读 · 0 评论