Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PageHelper的支持 #17

Closed
lccoll opened this issue May 10, 2021 · 2 comments
Closed

PageHelper的支持 #17

lccoll opened this issue May 10, 2021 · 2 comments

Comments

@lccoll
Copy link

lccoll commented May 10, 2021

无法自定义扩展获取到总页数,希望可以和PageHelper结构一致返回给前端

@javamxd
Copy link
Collaborator

javamxd commented May 10, 2021

https://ssssssss.org/guide/custom/json.html
这个根据总条数计算一下总页数返回就可以了

@lccoll
Copy link
Author

lccoll commented May 10, 2021

嗯,刚想到已经解决了

@lccoll lccoll closed this as completed May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants