php - [WeChat] Get the material list interface, get all when getting the picture and text list? ?
过去多啦不再A梦
过去多啦不再A梦 2017-05-24 11:34:22
0
1
1014

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!

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
曾经蜡笔没有小新

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!