~~~[api]
get:index/Login/userinfo
varchar:user_sid=db27c906a0fa75d0a25b2ff5319e1513 #登录密钥
int:user_uid=100063#登录的该用户id
<<<
success
{
"code": 1,
"msg": "登录成功",
"info": {
"id": 100063,
"referrer_id": 100063,
"name": "马丁",
"phone": "15770808503",
"email": "1076423822@qq.com",
"username": "🐷",
"city": "厦门",
"sex": 1,
"birthday": "12344",
"avatar": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJen4e7dhiaqtxNGCGEcCUl6cqdcM6lEzszbia0Vz4veqgVMDUIYXic8KmFUISaLJNsp9CRY9mEumDbw/132",
"unionid": "oJHDP50UAhrxHrnecTLRUg-i6Dw0",
"industry_id": 1,
"address": "江西赣州",
"status": 1,
"isperfect": 2,
"grade": 0,
"create_time": "2019-03-15 14:10:04",
"update_time": "2019-03-15 17:46:41"
}
}
<<<
error
{
"code": 0,
"msg": "未登录",
"url": index/Login/index
}
~~~