引入依赖
<properties>
<java.version>1.8</java.version>
<pagehelper.version>1.2.3</pagehelper.version>
<tk.version>2.0.2</tk.version>
<druid.version>1.1.8</druid.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<dependency>
<groupId>tk.mybatis</groupId>
<artifactId>mapper-spring-boot-starter</artifactId>
<version>${tk.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>