javascript - I want to make a function similar to likes and comment reminders in the circle of friends in a small program. It is a bit stuck now. I am an intern in my senior year. Please give me a thumbs up.
巴扎黑
巴扎黑 2017-05-18 11:00:02
0
1
446

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?

巴扎黑
巴扎黑

reply all(1)
迷茫

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...

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!