🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### <div> <span class="request">GET</span> <span class="url">/user/info</span> </div> * * * * * ###### 需要登录:是 访问频次:5次/分钟 冻结时间:1分钟 #### 接口功能 ~~~ 获取当前所持有效token用户的用户资料 ~~~ #### 注意事项: > 当返回错误码为422时,错误信息在errors中,否则,错误信息为message #### 参数表: 无 +++ <<< 获取成功 { "message": "操作成功", "status_code": 200, "data": { "id": 2, "type": 2, "current_type": 2, "mobile": "13692230441", "name": "李美丽", "nick": "星星", "id_no": "", "guide_no": "", "avatar": "avatar.png", "sex": 1, "province_id": 0, "province_name": "", "city_id": 0, "city_name": "", "district_id": 0, "district_name": "", "signature": "感谢你选择我,我将竭诚为您服务", "emergency_contact": "13923458160", "client_type": 1, "ios_token": "8be3df80c4a1d0d3b5626db6c1f41a8b0e700a0346151a23f3e6e58cda2288f0", "android_token": "", "ms_token": "", "rong_cloud_token": "PUno5XX7ahpNCwBJTMXmh6C49dLaMHLgjPIHfUht0UQe+/QLum/dkOA+k6sBiNzxwjNF5b627wM=", "login_at": "2016-08-05 00:49:41", "last_login_at": "2016-08-05 00:48:16", "login_ip": "127.0.0.1", "created_at": "2016-06-30 08:29:00", "updated_at": "2016-08-05 00:49:41", "gender": "男" } } <<< 获取失败 { "message": "用户不存在", "status_code": 500 } +++