POST Follow/FollowHospitalList
获取关注的医院列表
Request Information
URI Parameters
None.
Body Parameters
FollowListPars| Name | Description | Type | Additional information |
|---|---|---|---|
| ord |
最后一条ID |
integer |
None. |
| pagenum |
每页数量 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "200",
"data": {
"ord": 1,
"pagenum": 2
},
"msg": null
}
application/xml, text/xml
Sample:
<FollowListPars xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Parameter"> <ord>1</ord> <pagenum>2</pagenum> </FollowListPars>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
获取关注的医院列表
Collection of HospitalListResult| Name | Description | Type | Additional information |
|---|---|---|---|
| no |
排序 |
integer |
None. |
| Id |
主键 |
integer |
None. |
| Name |
名称 |
string |
None. |
| Logourl |
图标 |
string |
None. |
| Locaddress |
地址 |
string |
None. |
| phone |
电话 |
string |
None. |
| dis |
距离 |
decimal number |
None. |
| longitude |
经度 |
decimal number |
None. |
| latitude |
纬度 |
decimal number |
None. |
| heat |
热度 |
integer |
None. |
| isfollow |
当前用户是否关注 |
integer |
None. |
| doc_count |
医生数量 |
integer |
None. |
| follow_count |
关注数量 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "200",
"data": [
{
"no": 1,
"Id": 2,
"Name": "sample string 3",
"Logourl": "sample string 4",
"Locaddress": "sample string 5",
"phone": "sample string 6",
"dis": 7.1,
"longitude": 8.1,
"latitude": 9.1,
"heat": 10,
"isfollow": 11,
"doc_count": 12,
"follow_count": 13
},
{
"no": 1,
"Id": 2,
"Name": "sample string 3",
"Logourl": "sample string 4",
"Locaddress": "sample string 5",
"phone": "sample string 6",
"dis": 7.1,
"longitude": 8.1,
"latitude": 9.1,
"heat": 10,
"isfollow": 11,
"doc_count": 12,
"follow_count": 13
}
],
"msg": null
}
application/xml, text/xml
Sample:
<ArrayOfHospitalListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Result">
<HospitalListResult>
<Id>2</Id>
<Locaddress>sample string 5</Locaddress>
<Logourl>sample string 4</Logourl>
<Name>sample string 3</Name>
<dis>7.1</dis>
<doc_count>12</doc_count>
<follow_count>13</follow_count>
<heat>10</heat>
<isfollow>11</isfollow>
<latitude>9.1</latitude>
<longitude>8.1</longitude>
<no>1</no>
<phone>sample string 6</phone>
</HospitalListResult>
<HospitalListResult>
<Id>2</Id>
<Locaddress>sample string 5</Locaddress>
<Logourl>sample string 4</Logourl>
<Name>sample string 3</Name>
<dis>7.1</dis>
<doc_count>12</doc_count>
<follow_count>13</follow_count>
<heat>10</heat>
<isfollow>11</isfollow>
<latitude>9.1</latitude>
<longitude>8.1</longitude>
<no>1</no>
<phone>sample string 6</phone>
</HospitalListResult>
</ArrayOfHospitalListResult>