2021年1月2日
摘要:
引入Maven依赖: <dependency> <groupId>com.github.lianjiatech</groupId> <artifactId>retrofit-spring-boot-starter</artifactId> <version>2.2.5</version> </dep
阅读全文
posted @ 2021-01-02 14:05
陌生街中吹起褪色故梦
阅读(453)
推荐(0)
2020年10月11日
摘要:
Maven依赖: <!-- Swagger2 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </depende
阅读全文
posted @ 2020-10-11 21:00
陌生街中吹起褪色故梦
阅读(107)
推荐(0)
2020年10月9日
摘要:
SmartAdmin:https://gitee.com/lab1024/smart-admin litemall:https://gitee.com/linlinjava/litemall Timo:https://gitee.com/aun/Timo mall4j:https://gitee.c
阅读全文
posted @ 2020-10-09 22:18
陌生街中吹起褪色故梦
阅读(142)
推荐(0)
摘要:
Maven依赖: <!-- EhCache --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</artifactId> </dependency> <d
阅读全文
posted @ 2020-10-09 20:31
陌生街中吹起褪色故梦
阅读(114)
推荐(0)
2020年10月8日
摘要:
Maven依赖: <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>2.2.1</version> </dependency> <dependency> <gro
阅读全文
posted @ 2020-10-08 23:45
陌生街中吹起褪色故梦
阅读(182)
推荐(0)
2020年9月24日
摘要:
JDK 的Timer类 SpringTask Quartz SpringTask实现步骤: SpringBoot启动类添加@EnableScheduling 注解,开启定时任务功能。 编写定时任务,新建SchedulingTask类 在任务的类上写@Component,将当前的任务类注入到容器。 在
阅读全文
posted @ 2020-09-24 21:28
陌生街中吹起褪色故梦
阅读(183)
推荐(0)
2020年6月1日
摘要:
在多并发情况下使用SimpleDateFormat需格外注意 :SimpleDateFormat除了format是线程不安全以外,parse方法也是线程不安全的。 LocalDate 只获取年月日 LocalDate localDate = LocalDate.now(); //2020-06-01
阅读全文
posted @ 2020-06-01 23:08
陌生街中吹起褪色故梦
阅读(215)
推荐(0)
2020年5月26日
摘要:
例子:加减乘除(+-*/) System.out.println(0.05 + 0.01); System.out.println(1.0 - 0.42); System.out.println(4.015 * 100); System.out.println(123.3 / 100); 运算结果:
阅读全文
posted @ 2020-05-26 23:11
陌生街中吹起褪色故梦
阅读(195)
推荐(0)
2020年4月12日
摘要:
技术来源 下载spire.doc-2.2.0.jar地址 帮助文档 POM引入Jar(本人把jar放在项目的src/main/resources/lib目录下): <dependencies> <dependency> <groupId>e-iceblue</groupId> <artifactId
阅读全文
posted @ 2020-04-12 00:37
陌生街中吹起褪色故梦
阅读(861)
推荐(0)
2020年4月4日
posted @ 2020-04-04 00:11
陌生街中吹起褪色故梦
阅读(108)
推荐(0)