How does Mini Program relate data to users?

do I want to send openid+ data to the server and write to the database?

Feb.28,2021

our usual login development process is
1. Call wx.login () to get temporary login credentials (code);
2. Call wx.getUserInfo () to get encryptedData, iv;
3. At the same time, code, encryptedData and iv are sent to the server for resolution, and then token is returned to the front end as the unique identity of the user.

All data interactions after

are distinguished by this token. Please refer to official document .

Menu