09 2021 档案
摘要:引入依赖 <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybat
阅读全文
摘要:引入依赖 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-
阅读全文
摘要:1、引入log4j2的依赖 <!-- 使用log4j2 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-log4j2</artifactId> </depende
阅读全文
摘要:1、首先要准备一个可以查询文件和分类的工具类 /** * 查询文件 * @param file 目标路径 * @param list 装查询的文件容器 * @throws IOException */ public static void queryAllFile(File file, List<M
阅读全文
摘要:logger.info(">>>>>>>>>>>>>>>>>>>>>>>>>读取txt开始"); File file = new File(filepath); try { if (file.isFile() && file.exists()) { InputStreamReader read =
阅读全文

浙公网安备 33010602011771号