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

全部 mv 接口 分页出错offset无效 #524

Closed
lxhcool opened this issue Jul 4, 2019 · 4 comments
Closed

全部 mv 接口 分页出错offset无效 #524

lxhcool opened this issue Jul 4, 2019 · 4 comments

Comments

@lxhcool
Copy link

@lxhcool lxhcool commented Jul 4, 2019

全部 mv

可选参数:
limit: 取出数量,默认为 30

offset: 偏移数量,用于分页,如:(页数-1)*30, 其中 30 为 limit 的值,默认为0

接口地址:
/mv/all

问题描述:
无论offset是多少,返回的都是同样的数据!

@lxhcool
Copy link
Author

@lxhcool lxhcool commented Jul 4, 2019

我把接口里的offset: query.limit || 0 改成了 offset: query.offset || 0然后数据返回正常
如果是这个问题,麻烦更新一下
image

@Binaryify
Copy link
Owner

@Binaryify Binaryify commented Jul 4, 2019

一会更新下

@Binaryify
Copy link
Owner

@Binaryify Binaryify commented Jul 4, 2019

已更新

@lxhcool
Copy link
Author

@lxhcool lxhcool commented Jul 4, 2019

@Binaryify 好的,麻烦了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants