![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
起风的鱼
这个作者很懒,什么都没留下…
展开
-
spingboot异步接口开发
@SpringBootApplication//开启线程的注解@EnableAsync public class PushServiceApplication { public static void main(String[] args) { new SpringApplicationBuilder(PushServiceApplication.class).r...原创 2018-04-04 10:26:30 · 537 阅读 · 0 评论 -
springboot用HandlerInterceptor实现登录失效拦截等
首先写一个实现HandlerInterceptor 的类,代码如下:public class SessionInterceptor implements HandlerInterceptor { @Autowired RedisTemplate<String, String> redisTemplate; //private static String ...原创 2018-04-04 11:12:41 · 12763 阅读 · 2 评论