Method:
First, determine the service number, authenticate the official account of WeChat, open WeChat payment, and then you can add WeChat card coupons, and then you can apply for membership cards. Setting the membership card needs to wait for the staff to review it. After the review, it can be collected by followers or by QR code. If you need more customization functions, you need to develop the official account interface of WeChat.
With the WeChat card module, you can do the following:
var card = {card_type: "DISCOUNT ",base_info: {? // ...},
Special information: {//...};
Wxcard。 Card.create card (card, function (err, card ID){// After successful creation, the card voucher ID will be returned});