```javascript
WXAPI.register_email({
email: 'aaa@qq.com'
})
```
+ email address, used as login credentials, cannot be repeated in the system
+ pwd login password
+ nick user nickname
+ province the province to which it belongs
+ city the city to which it belongs
+ code email verification code, verification can be turned off through system parameters [https://www.yuque.com/apifm/doc/kcncad](https://www.yuque.com/apifm/doc/kcncad)
+ postJsonString user’s extended data, must be in json format
+ referrer user ID of the inviter
+ autoLogin true / false Whether to automatically complete login after registration [For previously registered users, automatically complete login]
```json
{
"code": 0,
"data": {
"newReg": true,
"token": "53294a57-987c-497a-a89a-52edd6e18fb5",
"uid": 8551748
},
"msg": "success"
}
```