药物查询(全部及ID)
GET
http://106.15.207.39:8080/drugWarehouse/{drugId}
接口描述
可以查询全部药物信息,URL后拼接ID查询指定ID的药物信息
请求参数
参数名
类型
描述
必填
drugId
Integer
药物ID,非必填,拼接在URL后面时查询指定药物
可选
响应参数
参数名
类型
描述
必填
drugId
int
药物ID
必填
drugName
string
药物名称
必填
drugStorage
int
库存量
必填
drugPrice
int
药物价格
必填
drugUnit
string
药物单位
必填