SpringBoot如何集成分页插件pagehelper呢?
下文笔者讲述SpringBoot中集成pagehelper插件的方法分享,如下所示
SpringBoot集成分页插件需引入的依赖
实现思路:
springboot中只需引入相应的分页插件starter即可实现集成分页插件的效果
例:SpringBoot集成分页插件需引入的依赖
所需依赖 <!--分页依赖--> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.4.1</version> </dependency>
SSM框架中引入pagehelper,加入以下依赖即可
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.0.0</version>
</dependency>
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。


