摘要: //上下文 @Resource private ApplicationContext applicationContext; @Bean public void test(){ //扫描Controller Reflections reflections = new Reflections("com 阅读全文
posted @ 2022-10-31 11:05 鱼鱼寡欢 阅读(474) 评论(0) 推荐(0)
摘要: <!-- redis依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> @Compo 阅读全文
posted @ 2022-10-19 14:30 鱼鱼寡欢 阅读(87) 评论(0) 推荐(0)
摘要: Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.YEAR, year); calendar.set(Calendar.MONTH, month - 1); //月份要-1,因为Calendar中一到十二月是0-11 阅读全文
posted @ 2022-10-17 14:21 鱼鱼寡欢 阅读(190) 评论(0) 推荐(0)
摘要: 1 docker使用nginx部署vue项目 1.1 打包vue项目 npm run build vue项目路径下会增加一个dist文件夹,里面就是网页文件 1.2 使用docker 拉取nginx docker pull nginx 1.3 运行nginx docker run --name ng 阅读全文
posted @ 2022-10-13 17:24 鱼鱼寡欢 阅读(354) 评论(0) 推荐(0)
摘要: HSSF 是Horrible SpreadSheet Format的缩写,也即“讨厌的电子表格格式”。 也许HSSF的名字有点滑稽,就本质而言它是一个非常严肃、正规的API。通过HSSF,你可以用纯Java代码来读取、写入、修改Excel文件。 1 创建对象 HSSFWorkbook workboo 阅读全文
posted @ 2022-10-13 16:23 鱼鱼寡欢 阅读(1291) 评论(0) 推荐(0)