The development of small program message subscription needs to complete the following three parts
1. Application template
Proactive message push applet has been closed
Alternative initiative is the need for the user to subscribe, the need to apply good template after template id
differently push content
Template application takes 3-5 working days
2. User authorization
Applet requires the user to push the initiative authorized authorized when certain To the bottom of 不咨询问
the check, or else not get the message
Obtain authorization need to add in the program 订阅消息
ofAPI
3. Back-end push
Two tasks are required for back-end push:
-
Write an interface for each WeChat user to obtain data
-
Use timed tasks to call the mini program push interface
The user clicks to enter the applet, and the page address of the project list needs to be provided