Home > Net >  How to implement, different people scan qr code appear content after receive red envelopes
How to implement, different people scan qr code appear content after receive red envelopes

Time:09-24

Everyone a great god, want to seek advice, how to achieve this one requirement (scan qr code, different people will pop up the corresponding content, as the man after watching the content, can receive a cash bonus)

CodePudding user response:

If you are WeChat, so he has a card voucher interface,

CodePudding user response:

Write their own qr code determine the current one?

CodePudding user response:

Well, is WeChat, whether to do a system that connect card interface

CodePudding user response:

Number should be without judgement, only need to set seeding sweep yards after playing the content of the quantity and the number of red envelopes can

If I had it a qr code contains 20 items, sweep WeChat code once played a content, after the play to receive a red envelope, until you play 20 times, the qr code can no longer get a red envelope
Penalty for flicking yards account whether it is the first time code, and content to play can receive red envelopes,

CodePudding user response:

Suppose you have a table
UnionID WeChat user exists, the inside a since the growth of id (maximum of 20, pretending to concurrent)
Send red envelopes UnionID under check first whether exists in the table, by words and then insert the UnionID table,
When insert after failing to send the red envelope,... Of course, you don't have to set up a table,,,

CodePudding user response:

Do a page and then connect to generate qr code at the bottom write a receiving line
  • Related