pagehelper
爱我你会火_
仰望高端玩家
展开
-
简单的SpringBoot+Pagehelper
1. pom.xml 引入相关jar(直接使用最新版就行)<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1...原创 2019-08-29 10:30:32 · 156 阅读 · 0 评论 -
SpringBoot+Redis (+Pagehelper)分页
说明:最初使用pagehelper进行分页,后考虑数据放入redis。 所以想pagehelper+redis结合进行分页,后发现需要写一套pagehelper分页还要再写一套redis分页,所以直接用一套redis分页抛弃pagehelper好了。如想用pagehelper分页可参考https://mp.csdn.net/postedit/1001325951. pom.x...原创 2019-09-04 18:00:50 · 5842 阅读 · 4 评论 -
StringBoot + Thymeleaf + PageHelper + PageInfo 前端引入式分页
1. Thymeleaf 配置application.properties:# thymeleaf 配置spring.thymeleaf.servlet.content-type=text/htmlspring.thymeleaf.cache=falsespring.thymeleaf.mode=htmlspring.thymeleaf.prefix=classpath:/templ...原创 2019-09-05 10:48:56 · 11722 阅读 · 1 评论