How does nodejs design the invitation code to confirm the relationship between the invitee and the invitee?

the invitee opens the web page by connecting:
clipboard.png
to generate a unique query string. How does the interface get this code value when the user registers and how does it match the inviter?


  1. how did code come from? Does it have something to do with the inviter ID
  2. nodejs directly gets the query string to get code, and then gets the inviter ID according to step 1

each user has an ID, that can be used to generate a sequence, such as mad5, etc., and can be used when inviting people to generate a connection

Menu