![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot2
文章平均质量分 75
o_cYj
这个作者很懒,什么都没留下…
展开
-
springboot2 redis
本文只贴主要相关代码,祥细见项目代码地址:https://github.com/chenyingjun/springboot2 如果觉得可以,别忘了star... 使用jar包: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-bo...原创 2018-08-28 21:12:22 · 553 阅读 · 0 评论 -
springboot2 config_toolkit 并且设置全局获取数据GlobalUtil
本文只贴相关代码段,完整代码请移步至本人github,若是喜欢,可以star给予支持 作者:o_cYj 博客专栏: https://blog.csdn.net/o_cYj 目录 本文实现目标 前期工作 具体实现 启动项设置 导入相关jar包 applicationContext.xml 上下文工具文件 SpringContextUtil.java 配置参数获取文件Prope...原创 2018-08-29 11:29:48 · 507 阅读 · 0 评论 -
springboot2 pagehelper 使用笔记
作者:o_cYj 博客专栏: https://blog.csdn.net/o_cYj pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId>...原创 2018-09-14 15:53:21 · 387 阅读 · 0 评论 -
springboot2 task scheduler 定时任务调度器四种方式
使用@EnableScheduling方式 @Component @Configurable @EnableScheduling public class Task1 { private static Log logger = LogFactory.getLog(Task1.class); @Scheduled(cron = &amp;amp;quot;0/2 * * * * * &amp;amp;quot;) pu...原创 2018-09-21 14:35:45 · 2867 阅读 · 0 评论