From dcd78a1cfa0c929403d51a347e43414f6aa5f0d8 Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: 星期一, 04 一月 2021 18:30:44 +0800 Subject: [PATCH] 存储部分使用sqlite代替redis-3 --- pom.xml | 59 ++++++++++++----------------------------------------------- 1 files changed, 12 insertions(+), 47 deletions(-) diff --git a/pom.xml b/pom.xml index ae4d666..2f45a6d 100644 --- a/pom.xml +++ b/pom.xml @@ -45,9 +45,6 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- 渚濊禆鐗堟湰 --> - <mapper.version>4.1.5</mapper.version> - <mybatis.version>3.5.5</mybatis.version> - <mybatis.spring.version>2.0.5</mybatis.spring.version> <pagehelper.version>5.2.0</pagehelper.version> <snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory> <asciidoctor.input.directory>${project.basedir}/docs/asciidoc</asciidoctor.input.directory> @@ -59,30 +56,16 @@ <dependencies> <dependency> <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-jdbc</artifactId> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-tomcat</artifactId> + <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-context</artifactId> - </dependency> - - <!-- redis --> - <dependency> - <groupId>org.springframework.data</groupId> - <artifactId>spring-data-redis</artifactId> - </dependency> - <dependency> - <groupId>redis.clients</groupId> - <artifactId>jedis</artifactId> - <version>3.3.0</version> + <groupId>org.mybatis.spring.boot</groupId> + <artifactId>mybatis-spring-boot-starter</artifactId> + <version>2.1.4</version> </dependency> <!-- druid鏁版嵁搴撹繛鎺ユ睜 --> @@ -106,36 +89,18 @@ <version>3.32.3.2</version> </dependency> - <!--Mybatis --> - <dependency> - <groupId>org.mybatis</groupId> - <artifactId>mybatis</artifactId> - <version>${mybatis.version}</version> - </dependency> - <dependency> - <groupId>org.mybatis</groupId> - <artifactId>mybatis-spring</artifactId> - <version>${mybatis.spring.version}</version> - </dependency> - - <!--鍒嗛〉鎻掍欢 --> + <!--Mybatis鍒嗛〉鎻掍欢 --> <dependency> <groupId>com.github.pagehelper</groupId> - <artifactId>pagehelper</artifactId> - <version>${pagehelper.version}</version> + <artifactId>pagehelper-spring-boot-starter</artifactId> + <version>1.2.10</version> </dependency> - <!--閫氱敤Mapper --> - <dependency> - <groupId>tk.mybatis</groupId> - <artifactId>mapper</artifactId> - <version>${mapper.version}</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>3.11</version> - </dependency> +<!-- <dependency>--> +<!-- <groupId>org.apache.commons</groupId>--> +<!-- <artifactId>commons-lang3</artifactId>--> +<!-- <version>3.11</version>--> +<!-- </dependency>--> <!--Swagger2 --> <!--鍦ㄧ嚎鏂囨。 --> -- Gitblit v1.8.0