Joke Collection Website - Public benefit messages - Applet have a way to remind administrators of orders.
Applet have a way to remind administrators of orders.
1. First of all, you need to get the openid of the administrator (you can get it by using the wx.getUserInfo interface in the applet).
2. Then add a template message: in the applet management background, select a template message. In Add Template, enter the name of the template, and select the industry and message type. When editing template content, you need to define the content to be pushed, such as order number, order placing time and other information. After successful creation, a template_id will be generated, which will be used later.
3. Finally, send template message: After calling payment-related APIs such as wx.requestPayment in the code, if the payment is successful, the method of sending template message will be triggered. This method generates a message template according to openid, template_id and the data related to the order, and sends a request to the WeChat server through the wx.request () method, which contains the parameters required for the template message. After the server processes it successfully, it will push the message to the administrator's WeChat account.
- Related articles
- What is the job content of a telecommunications inventory manager?
- Taobao can't remind the seller to deliver when it buys something.
- What website is China Mobile Flight Hall?
- Recently, people have been calling about what I am dealing with. Did the POS dial the wrong number or * *?
- Does CCB charge for mobile banking?
- How to set the information bright screen on Apple mobile phone?
- I don't know 1 What about this store?
- Instructions executed by the foreign exchange trading center can be
- Confession love story 100 words
- Do I have to go to the bank to open SMS notification?