WeChat development - laravel5.1 does WeChat authorized login
ringa_lee
ringa_lee 2017-05-16 16:56:09
0
2
783

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?

ringa_lee
ringa_lee

ringa_lee

reply all (2)
Peter_Zhu

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.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!