Users registered with this interface will automatically obtain the user's WeChat avatar and nickname.
First, follow the official documentation of the QQ applet to obtain the user’s WeChat information:
["QQ Mini Program obtains user information"](https://q.qq.com/wiki/develop/miniprogram/API/open_port/port_userinfo.html#qq-getuserinfo)
After obtaining the user's encrypted data, call the following interface to register:
```javascript
WXAPI.registerQ({
code: '',
encryptedData: '',
iv: '',
postJsonString: '',
referrer: ''
})
```
+ code is the user's temporary code obtained by calling the QQ login interface.
+ encryptedData and iv are the encrypted information returned by the interface
+ postJsonString json data of user's extended attributes (requires string)
+ referrer The referrer information saved when registering this user
```json
{
code: 0,
msg: 'success'
}
```