文档
测试

获取个人信息

GET
http://192.168.0.101/v1/userMsg

请求头

参数名
类型
描述
必填
token
string
示例:c89b52ee4d473e61f961a3f902c96b24
必填

响应参数

参数名
类型
描述
必填
errorCode
int
示例:1000
必填
msg
string
示例:查询用户信息成功
必填
rows
object
数据字典
必填
session_key
string
微信的session_key 示例:3G53kOzzz62QajjYldozrQ==
必填
openid
string
微信返回的 openid 示例:odIHD5FXEKM50p4Uc8UNfCbE2HpE
必填
userMsg
object
个人信息 数据字典
必填
id
int
示例:1
必填
headImg
object
头像 示例:null
必填
nickname
string
昵称 示例:张三123
必填
userlevel
int
用户等级 示例:2
必填
username
object
用户名 示例:null
必填
password
string
密码 示例:
必填
sex
int
性别 示例:0
必填
birthday
object
生日 示例:null
必填
status
int
状态 0禁用 1正常 示例:1
必填
balance
string
用户余额 示例:0.00
必填
integral
int
积分 示例:112
必填
openid
string
用户openid 示例:odIHD5FXEKM50p4Uc8UNfCbE2HpE
必填
address
object
用户地址 示例:null
必填
realname
object
真实姓名 示例:null
必填
createtime
string
创建时间 示例:2020-05-13 09:38:03
必填
userlevel_amount
int
用户等级累计值 示例:2344
必填
is_vip
int
是否为会员 0不是 1是 示例:1
必填
mobilePhone
string
手机号 示例:17633636602
必填
label
string
用户标签 示例:1
必填
scope
int
示例:16
必填
commentCount
int
发帖总数 示例:12
必填
commentLikeCount
int
帖子 点赞总数 示例:1
必填
commentHideCount
int
帖子收藏数 示例:1
必填
commentReply
int
帖子评论数 示例:6
必填
studyfileLikeCount
int
视频点赞数 示例:1
必填
studyfileHideCount
int
视频收藏数 示例:1
必填
studyfileAssess
int
视频评论数
必填

说明 / 示例

{ "errorCode": 1000, "msg": "查询用户信息成功", "rows": { "session_key": "3G53kOzzz62QajjYldozrQ==", "openid": "odIHD5FXEKM50p4Uc8UNfCbE2HpE", "userMsg": { "id": 1, "headImg": null, "nickname": "张三123", "userlevel": 2, "username": null, "password": "", "sex": 0, "birthday": null, "status": 1, "balance": "0.00", "integral": 112, "openid": "odIHD5FXEKM50p4Uc8UNfCbE2HpE", "address": null, "realname": null, "createtime": "2020-05-13 09:38:03", "userlevel_amount": 2344, "is_vip": 1, "mobilePhone": "17633636602", "label": "1" }, "scope": 16, "commentCount": 12, "commentLikeCount": 1, "commentHideCount": 1, "commentReply": 6, "studyfileCount": 0, "studyfileLikeCount": 1, "studyfileHideCount": 1 } }