How does Wechat pull up and load the requested data in moments, and then return to the drop-down and refresh after the original data is not empty?

problem description

how does it achieve that Wechat pulls up and loads the requested data in moments, and then returns the data that is not empty after being pulled down and refreshed?

Apr.02,2021

  1. has an array to store list data
  2. if you have more data when loading more pull-up, add the
  3. you just pulled back to the end.
  4. pass the latest ID or timestamp when the drop-down refreshes. If the data is returned by the background, insert it directly in the front. If there is no new data, do nothing
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40996-2c51a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40996-2c51a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?