<--maven依赖-->
maven依赖
<!-- 分页插件 注意版本,1.2.3与springboot2组合使用要不然报版本冲突-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.3</version>
</dependency>
#.yml配置文件中pagehelper分页插件配置 pagehelper: helperDialect: mysql reasonable: true supportMethodsArguments: true params: count=countSql