There is already a database. Now when the user opens the webpage through the public service account, the webpage obtains the user's information. There is already the user's information in the database. How to log in? Do you use SESSION to log in? Determine whether there is a SESSION. If not, just log in. If not, go to the authorization page to obtain user information and then store the SESSION user's information? Is this the idea? Can anyone give me some guidance on how to change it? Will the user remain logged in?
If you use WeChat to log in, you can get some unique parameters of WeChat to simulate the user’s login status
WeChat webpage authorization has an openid, which is the only way for fans to identify this official account.