Module: 附加药品模版新增^2022/07/28

  1. 附加药品模版使用流程
Since:
  • 2022/07/28
Author:
  • zz

Methods

(inner) post /product_syndrometype_add(timestamp, sign, JSON)

Parameters:
Name Type Description
timestamp String(10) 时间戳,值为秒值,长度10位,时间戳有效期:±10分钟
sign String(64) 签名
JSON JSON body参数
Properties
Name Type Attributes Default Description
diseaseId String(24) 病症ID 2022/07/28
syndrometype String(50) 证型 2022/07/28
doctorId String(24) <optional>
医生ID
productId String(24) 药品ID
quantity Number <optional>
1 数量
price Number <optional>
0 单价,元
memo String(200) <optional>
备注
Properties:
Name Type Description
productSyndrometypeId String(24) 附加药品模版ID
Throws:
400 缺少title
Examples
请求示例:/product_syndrometype_add?diseaseId=5e3815da27ddaa24a8b0c74b&syndrometype=风寒&sign=29B95FBA8B10FEDFDCD4C9BC172F31AFA687DFA6B9241E69F3E59E873B6CF924&timestamp=1570428513
请求JSON参数:
  {
    "doctorId": "5e0445db99791d7398ccb1ba",
    "productId": "62d9403e716c8100112f3dc0",
    "quantity": 2,
    "price": 158,
    "mome": "",
  }
返回示例:
  {
    "productSyndrometypeId": "62d93bd8b8422700110b5f03"
  }