Wechat distribution problem

We have encountered the following problems in the distribution system! For example, A user shares his URL. B users come according to the URL shared by A users, so judge whether A users follow the official account! If there is no attention, the follow button pops up, and the information of user B is saved as a subordinate distribution member of user A. Could you tell me how to pop up the attention button? How does he jump to the user center after paying attention?


your process is wrong. It should be that b users pop up if they don't follow. To judge whether attention should be simple, this one has an interface, and if there is a pop-up window, isn't there a front end to do it? this is not complicated

.
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-1e9d38b-193a.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-1e9d38b-193a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?