{
"type": 2,
"patientId": "220000200106256766",
"illnessDesc": "肚子疼",
"liverFunction": 0,
"couponId": "810000198811218423",
"medicines": [
{
"id": "460000200012068531",
"quantity": 2
}
],
"depId": "110000199605148822",
"consultFlag": 0,
"illnessType": 0,
"pictures": [
{
"url": "https://img2.baidu.com/it/u=2519487304,446123205&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1660323600&t=5a3fea25babc281922d113a5d54b27e6",
"id": "45000020040417610X"
},
{
"url": "https://img2.baidu.com/it/u=2519487304,446123205&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1660323600&t=5a3fea25babc281922d113a5d54b27e6",
"id": "640000200002183839"
}
],
"renalFunction": 0,
"allergicHistory": 0,
"docId": "BewLy",
"illnessTime": 1,
"fertilityStatus": 0
}
curl --location --request POST 'https://consult-api.itheima.net/patient/consult/order' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": 2,
"patientId": "220000200106256766",
"illnessDesc": "肚子疼",
"liverFunction": 0,
"couponId": "810000198811218423",
"medicines": [
{
"id": "460000200012068531",
"quantity": 2
}
],
"depId": "110000199605148822",
"consultFlag": 0,
"illnessType": 0,
"pictures": [
{
"url": "https://img2.baidu.com/it/u=2519487304,446123205&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1660323600&t=5a3fea25babc281922d113a5d54b27e6",
"id": "45000020040417610X"
},
{
"url": "https://img2.baidu.com/it/u=2519487304,446123205&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1660323600&t=5a3fea25babc281922d113a5d54b27e6",
"id": "640000200002183839"
}
],
"renalFunction": 0,
"allergicHistory": 0,
"docId": "BewLy",
"illnessTime": 1,
"fertilityStatus": 0
}'
{
"success": true,
"code": 0,
"message": "string",
"data": {
"id": "string"
}
}