On this page
查询网校用户详细信息
接口URL
请求方式
GET
Content-Type
application/x-www-form-urlencoded
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
token | eyj...Nj | String | 是 | 用户token |
schoolid | 11 | Integer | 是 | 网校id |
请求Query参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
id | 3 | Integer | 是 | school_user表的id |
成功响应示例
json5
{
"msg": "ok",
"data": {
"id": 3,
"school_id": 11,
"user_id": 3,
"no_comment": 1,
"no_access": 1,
"total_consume": "0.00",
"created_time": "2021-02-28T16:00:00.000Z",
"updated_time": "2021-03-12T12:08:17.000Z",
"userId": 3,
"user": {
"email": "123@qq.com",
"phone": "134****4567",
"id": 3,
"username": "ceshi2",
"nickname": "",
"avatar": "",
"sex": "未知",
"desc": "",
"status": 1,
"created_time": "2021-02-27T17:01:23.000Z",
"updated_time": "2021-02-27T17:01:23.000Z"
}
},
"code": 20000
}