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

Comments

Projects
None yet
2 participants
@lxhcool
Copy link

commented Jul 4, 2019

全部 mv

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

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

接口地址:
/mv/all

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

@lxhcool

This comment has been minimized.

Copy link
Author

commented Jul 4, 2019

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

@Binaryify

This comment has been minimized.

Copy link
Owner

commented Jul 4, 2019

一会更新下

Binaryify pushed a commit that referenced this issue Jul 4, 2019

@Binaryify

This comment has been minimized.

Copy link
Owner

commented Jul 4, 2019

已更新

@lxhcool

This comment has been minimized.

Copy link
Author

commented Jul 4, 2019

@Binaryify 好的,麻烦了

@Binaryify Binaryify closed this Jul 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.