Based on: wx.login + wx.getUserProfile implementation.

The original address: www.yuque.com/dule/blog/u…