文档
测试

医生信息查询(全部及指定ID)

GET
http://localhost:8080/doctor/{doctorId}

接口描述

可以查询全部医生信息,URL后拼接ID查询指定ID的医生信息

请求参数

参数名
类型
描述
必填
doctorId
int
医生编号ID,非必填,拼接在URL后面
可选

响应参数

参数名
类型
描述
必填
doctorId
int
医生编号
必填
doctorName
string
姓名
必填
doctorDepartment
string
科室
必填
doctorTitle
string
职称
必填
isOnline
boolean
在线状态
必填
phoneNumber
string
电话
必填
gender
boolean
性别
必填
joinDate
string
入职日期
必填
doctorBirthday
string
生日
必填

说明 / 示例

直接输入URL就可以查询到全部 示例: ![image.png](https://cos.easydoc.net/25598977/files/kgxbq0xr.png) URL后面拼接账单ID值查询指定的 ![image.png](https://cos.easydoc.net/25598977/files/kgxbtjil.png)