医生信息添加
POST
http://localhost:8080/doctor
接口描述
添加新的医生信息数据,不需要传递joinDate和doctorId(自动递增),添加成功会返回带id的实例
请求参数
参数名
类型
描述
必填
doctorName
string
医生名称
必填
doctorDepartment
string
科室
必填
doctorTitle
string
职称
必填
isOnline
boolean
是否在线,true or false
必填
phoneNumber
int
电话
必填
gender
boolean
性别
必填
doctorBirthday
string
生日
必填
响应参数
参数名
类型
描述
必填
doctorId
int
示例:1
必填
doctorName
string
示例:张三
必填
doctorDepartment
string
示例:口腔科
必填
doctorTitle
string
示例:主任
必填
isOnline
boolean
示例:true
必填
phoneNumber
string
示例:13788888888
必填
gender
boolean
示例:false
必填
doctorBirthday
string
示例:2020-10-10
必填