Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

全部 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 commented Jul 4, 2019

全部 mv

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

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

接口地址:
/mv/all

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

@lxhcool
Copy link
Author

lxhcool commented Jul 4, 2019

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

@Binaryify
Copy link
Owner

一会更新下

@Binaryify
Copy link
Owner

已更新

@lxhcool
Copy link
Author

lxhcool commented Jul 4, 2019

@Binaryify 好的,麻烦了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants