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