Loading…

Toutiao Mini Program User Registration

```javascript WXAPI.register_tt({ code: '', avatarUrl: '', province: '', city: '', nickName: '', postJsonString: '', referrer: '' }) ``` + code calls the login interface of the Byte applet to obtain the user's temporary code + nickName user nickname + avatarUrl User avatar + province the province where it is located + city city + postJsonString json data of user's extended attributes (requires string) + referrer The referrer information saved when registering this user ```json { code: 0, msg: 'success' } ```