springboot集成pageHelper的使用

pom文件添加相关依赖

<!--pageHelper依赖-->
<dependency>
    <groupId>com.github.pagehelper</groupId>
    <artifactId>pagehelper-spring-boot-starter</artifactId>
    <version>1.1.1</version>
</dependency>

 不需要在配置文件里配置东西了,配置上还有可能会出错,直接使用就可以了,这样就可以分页查询了,具体分页查看https://blog.csdn.net/kxj19980524/article/details/84678796

猜你喜欢

转载自blog.csdn.net/kxj19980524/article/details/85243977