As shown above
1. First, the client obtains the wechat login credential code(wechat server) through wx.login().
2. The client brings code to the project server
3. The project server obtains the OpenID and the SessionId(customizable) and returns the SessionId to the client.
4. Sessionids are added to service requests.