There is a scenario in development where the user publishes an activity information now how to turn this activity into a QR code to share to a friend circle and then another user scanned the QR code to participate in the activity did not pay attention to the public number of the scan can be concerned and then can participate in the release of the event. Ask the Great God for answers
Reply content:
There is a scenario in development where the user publishes an activity information now how to turn this activity into a QR code to share to a friend circle and then another user scanned the QR code to participate in the activity did not pay attention to the public number of the scan can be concerned and then can participate in the release of the event. Ask the Great God for answers
First you need to create a QR code ticket, this official document has to explain what kind of parameters to pass, here is to say that scene_id can be defined by themselves, but limited to the number
Then is through the ticket exchange QR code, this QR code you can use to share the circle of friends, and then the user scanned the QR code, not the attention will prompt to pay attention to, and then there will be identified by the QR code information and user OpenID push to the server, you can according to obtain the Scene_ The ID pushes the corresponding information. Do a series of operations on the user information obtained
This can be achieved by generating a two-dimensional code with parameters.
Http://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html