美女直播

美女直播


获取用户信息

<h5>简要描述</h5> <ul> <li>获取用户信息接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://zhibo.cookiegeeks.com/user/get-info</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>token</td> </tr> <tr> <td style="text-align: left;">user_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>要查看信息的用户id,不传则查看自己的信息</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { "code": 200, "msg": "操作成功", "data": { "id": "11", "udid": "456789", "code_name": "2", "gender": "0", "like_gender": "1", "age": "18", "nickname": "草木灰", "invite_code": null, "avatar": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic21.nipic.com%2F20120606%2F5137861_093119370162_2.jpg&amp;refer=http%3A%2F%2Fpic21.nipic.com&amp;app=2002&amp;size=f9999,10000&amp;q=a80&amp;n=0&amp;g=0n&amp;fmt=jpeg?sec=1636269563&amp;t=f2ae4c8003808a6d66f1447b844c1204", "is_vip": "0", "vip_expire_time": null, "coins": "99985", "status": "1", "is_authentication": "2", "online_status": "1", "agora_user_id": "10", "create_time": "1632999124", "update_time": "1634202114", "country": null, "city": null, "introduction": null, "agora": { "id": "10", "user_id": "11", "uuid": "620e60b0-2ccd-11ec-bfc8-115e9e85c160", "type": "user", "created": "1634202116673", "modified": "1634202116673", "username": "traynor_11", "activated": "1", "nickname": "草木灰", "password": "123456", "create_time": "1634202117" } } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML