1. When the page is onshow, I should get the likes and comments that others have posted about me that I have not viewed.
2. After clicking the reminder, go to browse and change the whether it has been viewed or not. Already browsed
Question: How to request the API to get data when currently stuck onshow. How to get likes and comments that have not been viewed yet?
迷茫2017-05-18 11:02:02
Do you mean how to request the API to get the data? You can use wx.request to initiate an HTTPS request, request the server's interface, and get the data you mentioned about unviewed and liked comments.
About WeChat Mini Program wx. I wrote this article as a request, you can refer to it http://www.cnblogs.com/huange...