文档
测试

用户信息

POST
https://read.xinghaoruiye.com/wechat/user/user

请求参数

参数名
类型
描述
必填
userId
int
示例:4
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
data
object
数据字典
必填
id
int
示例:4 //用户id
必填
level
int
示例:0 //0普通用户,1会员
必填
name
object
示例:null //昵称
必填
phone
string
示例:15153540003 //账号
必填
avatar
string
示例:https://reads.xinghaoruiye.com/ //头像
必填
simple
object
示例:null //简介
必填
type
int
示例:1 //1家长,2老师
必填
time
object
示例:null //会员到期时间
必填
integral_num
int
示例:0 //积分
必填
collect_num
int
示例:0 //收藏数
必填
browse_num
int
示例:0 //浏览数
必填
image
string
示例:0 //个人中心图
必填
xue_status
int
示例:0 //1可查看,0不可
必填