医生列表-用户获取购买过的医生
请求地址: v1/doctors/listDoctorGroups/{userId}
HTTP请求方式: GET
请求参数说明
| 参数名称 | 参数类型 | 参数说明 |
|---|---|---|
| userId | long | 用户id |
| size | int | 大小 |
| page | int | 页码 |
响应结果示例
{
"ret_code" : 0,
"ret_values" : {
"serviceFalse" : { // 过去服务
"content" : [ {
"doctorGroupId" : 108, // 医生小组id
"imGroupId" : 187152992384844228, // 环信id
"hospitalName" : "华山医院",
"expirationTime" : "1464855836269" // 到期时间
"name" : "张敏华个人诊所", // 医生小组名称
"avatars" : [ "http://7xp6gb.com2.z0.glb.qiniucdn.com/pci/picture/pic1@2x.png", "http://7xp6gb.com2.z0.glb.qiniucdn.com/pci/picture/pic1@2x.png" ], // 头像
"content" : "nih", // 简介内容
"timeExp" : "0天前" // 时间
} ],
"last" : true,
"totalElements" : 0,
"totalPages" : 0,
"size" : 20,
"number" : 0,
"sort" : null,
"first" : true,
"numberOfElements" : 0
},
"serviceTrue" : [ {
"doctorGroupId" : 109,
"imGroupId" : 187160185993691560,
"name" : "张敏华个人诊所",
"avatars" : [ "http://7xp6gb.com2.z0.glb.qiniucdn.com/pci/picture/pic1@2x.png", "http://7xp6gb.com2.z0.glb.qiniucdn.com/pci/picture/pic1@2x.png" ],
"content" : "",
"timeExp" : ""
} ]
}
}