迁移至 病案修改 接口实现功能
- Since:
- Author:
-
Methods
(inner) post /medicalrecord_save_image(medicalrecordId, timestamp, sign, JSON)
Parameters:
Name |
Type |
Description |
medicalrecordId |
String(24)
|
病案ID |
timestamp |
String(10)
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
签名 |
JSON |
Array.<Object>
|
body参数,图片数组
Properties
Name |
Type |
Description |
name |
String(100)
|
图片文件名 |
url |
String(500)
|
图片地址 |
size |
String(10)
|
图片尺寸 |
width |
Number
|
图片宽度 |
height |
Number
|
图片高度 |
|
Properties:
Name |
Type |
Description |
success |
Boolean
|
true为成功 |
Examples
请求示例:/medicalrecord_save_image?sign=143C90B22D698234BAA7691B0020D5D6D4737106A57E72EEED098E9193075C69×tamp=1570428513
请求JSON参数:
[
{
name: "images.png",
url: "https://acuherb-cloud-img.oss-cn-zhangjiakou.aliyuncs.com/b15e203ae5348eceb4e234cb6c1fbeff.jpg",
size: 11360,
width: 0,
height: 0,
}
]
返回示例:
{
"success": true
}