Joke Collection Website - Blessing messages - How to implement message push between java program and WeChat public platform

How to implement message push between java program and WeChat public platform

How to implement message push between java program and WeChat public platform:

1. The local database stores the mini program user table and WeChat public account table. The following is the Mini program users push WeChat official account information

2. Get any user A information in the mini program user table, user A's openId and unionId, and use unionId to the official account table to retrieve the corresponding user A The openId of the WeChat public account

3. Select a template message on the WeChat public account, edit the content to be sent, and then request the interface for sending the template message

About WeChat public If the number cannot be pushed, or an error is reported when pushing, the mini program corresponding to the appid under the pushed miniprogram must be reviewed and released before it can be pushed.

The push software uses Jiguang Push to implement multiple message types. Developers can easily send system notifications for various mobile platforms through Jiguang, and can also edit a variety of rich text display templates on the console; Jiguang also provides Transparent transmission of customized messages, the client can freely process it according to its own logic after receiving the message content.