WeChat’s interface for obtaining permanent material list, the parameters are written like this:
The document states: The number of returned materials is between 1-20
.
I get the picture material list, no problem, I can control the returned quantity through the count
parameter.
But when getting the picture and text list, all the pictures and texts were directly returned to me, so:
This is still one-third of the returned results, what should I do? Why is this happening? The value given by my count
is 10, please give me the answer!
曾经蜡笔没有小新2017-05-24 11:36:22
Depending on how you want to paginate, you can probably request data as follows. count is the number of records on each page, and offset is the first number on a certain page.
According to the literal meaning, for example,
offset 0 count 20 means 1-20. On the second page, offset 20 count 20 is 21-40. On the second page, offset 40 count 20 is 41-60