|
@@ -21,25 +21,31 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+ <!--thymeleaf模板引擎配置-->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--web依赖-->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--mybatis配置-->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
<version>2.1.4</version>
|
|
<version>2.1.4</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
-
|
|
|
|
|
|
|
+<!--mysql数据库配置-->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<scope>runtime</scope>
|
|
<scope>runtime</scope>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+<!--单元测试配置-->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|