- 首页板块【无需登陆】
- 用户管理
- 订单板块
- 其它板块
- 后台板块
获取医院信息通过id
开发中
GET
/api/get-hospital-by-id
请求参数
Query 参数
hospital_id
string
可选
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/get-hospital-by-id?hospital_id=1'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
hospital_id
integer
医院id
hospital_name
string
医院名称
hospital_type
integer
医院类别
hospital_phone
string
医院手机号
hospital_address
string
医院地址
privacy_agreement
string
隐私协议
user_agreement
string
用户协议
customer_work_time
string
人工客服工作时间
customer_phone
string
人工客服电话,所有医院都一样
user_review_info
string
用户评价,所有医院都一样【富文本】
wx_dy_info
string
公众号及抖音号信息,所有医院都一样【富文本】
示例
{"code":200,"message":"Success","data":{"hospital_id":1,"hospital_name":"上海市中心医院","hospital_type":1,"hospital_phone":"18111111111","hospital_address":"上海市上海市青浦区移动智地1号楼","customer_phone":"110","user_review_info":"<p style=\"text-align: center;\"><span style=\"text-decoration: underline;\">100%用户好评</span></p>\r\n<p style=\"text-align: center;\"><img src=\"http://xinhu.com/storage/tinymce/images/2697a7398c10aef267aa72765c0ed14167e6678e1176e.jpg\" alt=\"\" width=\"1080\" height=\"606\" /></p>","wx_dy_info":"<p>这是我们抖音……</p>\r\n<p><img src=\"http://xinhu.com/storage/tinymce/images/5cbb8c276273bb19f61f456c85cd557a67e669f0b8fc9.jpg\" alt=\"\" width=\"272\" height=\"239\" /></p>"}}
修改于 2025-03-31 08:32:09