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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32725-4ea7b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32725-4ea7b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?