#用户信息
* avatar:头像
* username:用户名
* credit:积分
* today_credit:今日积分
* yesterday_credit:昨日积分
* signStr:签到处文字
* isSign:是否允许签到
~~~[api]
post:/shop/getUserInfo
*int:uid= #用户ID
<<<
success
{
"info": "success",
"status": 1,
"data": {
"data": {
"id": 8,
"tid": 1,
"pid": 1,
"scene_code": "M2rcR",
"avatar": null,
"username": "11a",
"phone": "13053237223",
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-17 16:53:35",
"credit": 8990,
"today_credit": 0,
"yesterday_credit": 1,
"isSign": true,
"signStr": "签到"
}
}
}
<<<
error
{
"info": "Error",
"status": 0,
}
~~~