Methods
(inner) post /doctor_modify(timestamp, sign, doctorId, JSON)
Parameters:
Name |
Type |
Description |
timestamp |
String(10)
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
签名 |
doctorId |
String(24)
|
医生Id |
JSON |
JSON
|
body参数
Properties
Name |
Type |
Attributes |
Description |
phone |
String(50)
|
<optional>
|
手机 和 微信openid 必须有一个不为空 2024/01/22 |
title |
String(20)
|
<optional>
|
姓名 |
gender |
String(10)
|
<optional>
|
性别,1: 男, 2: 女 |
birthday |
Date
|
<optional>
|
生日 |
addr |
Array.<String>
|
<optional>
|
省/市/区 ["广东省","广州市","新城区"] |
organization |
String(100)
|
<optional>
|
机构名称 |
jobTitle |
String(50)
|
<optional>
|
职称 |
licenseType |
String(50)
|
<optional>
|
证件类型 '医师资格证书或执业证书','乡村医生证书','民间确有专长中医资格证书','执业药师证书','临床类职称证书','医学相关类大中专毕业证书','其他医学相关专业证件' |
licenseNumber |
String(50)
|
<optional>
|
证件号码 |
licenseImg |
Array.<Object>
|
<optional>
|
证件图片
Properties
Name |
Type |
Description |
name |
String(100)
|
图片文件名 |
url |
String(500)
|
图片URL |
size |
Number
|
图片尺寸 |
width |
Number
|
图片宽 |
height |
Number
|
图片高 |
|
idCard |
String(20)
|
<optional>
|
身份证号码 |
idCardImgPositive |
String(500)
|
<optional>
|
身份证(正) |
idCardImgBack |
String(500)
|
<optional>
|
身份证(反) |
avatar |
String(500)
|
<optional>
|
头像 |
province |
String(100)
|
<optional>
|
地域 - 省 |
wxQrCode |
Object
|
<optional>
|
微信二维码
Properties
Name |
Type |
Description |
name |
String(100)
|
图片文件名 |
url |
String(500)
|
图片URL |
size |
Number
|
图片尺寸 |
width |
Number
|
图片宽 |
height |
Number
|
图片高 |
|
publicWelfare |
Object
|
<optional>
|
公益组织申请资料
Properties
Name |
Type |
Description |
name |
String(50)
|
姓名 |
phone |
String(50)
|
电话 2024/01/22 |
organization |
String(50)
|
组织或机构 |
position |
String(50)
|
职务 |
images |
Array.<Object>
|
资质图片
Properties
Name |
Type |
Description |
name |
String(100)
|
名称 |
url |
String(500)
|
路径 |
size |
Number
|
文件大小 |
width |
Number
|
宽 |
height |
Number
|
高 |
|
|
|
Properties:
Name |
Type |
Description |
success |
Boolean
|
成功标志,true为成功 |
Throws:
400 缺少doctorId
400 缺少body
Examples
请求示例:/doctor_modify?sign=29B95FBA8B10FEDFDCD4C9BC172F31AFA687DFA6B9241E69F3E59E873B6CF924×tamp=1570428513&doctorId=5e1b32e6a8bead28981cfefe
请求JSON参数:
{
"addr": [
"北京市",
"北京市",
"东城区"
],
"title": "张峥",
"phone": "18600684950",
"licenseImg": [
{
"name": "1592839914631.123123.jpg",
"size": 18168,
"url": "/uploads/2020/6/22/1592839914631.123123.jpg"
},
],
"birthday": "1981-09-12",
"gender": "1",
"avatar": "/uploads/2020/7/14/1594717165444.C6D4F14A-0863-44EB-AEB0-71EB2F89A2CF.jpeg",
"licenseNumber": "123123123123",
"province": "江西省",
"idCard": "340103197000000",
"idCardImgBack": "/uploads/2020/7/6/1594019088941.1000D_1.jpg",
"idCardImgPositive": "/uploads/2020/7/6/1594011069842.C5E6F030-6356-41BD-B2BB-D4D21BE4555C.jpeg",
"licenseType": "医师资格证书或执业证书",
"jobTitle": "副主任医师",
"organization": "北京协和医院",
"wxQrCode": {
"name": "CE4800A7-7705-4FBF-A0B4-5ADDD6DA25F8.jpeg",
"url": "/uploads/2020/7/14/1594714793114.CE4800A7-7705-4FBF-A0B4-5ADDD6DA25F8.jpeg",
"size": 46591,
"width": 564,
"height": 786
},
}
返回示例:
{
"success": true
}