文档
测试

获取常用检测商品列表

POST
GetDetectionProductListForCommonlyUsed

接口描述

获取常用检测商品列表

请求参数

参数名
类型
描述
必填
dataJson
object
数据参数
必填
lab_id
number
实验室ID 1114
必填
member_id
number
会员ID 示例:100000
必填
client_key
string
密钥 示例:A5D22FF169993B30EFD2F2AE2A1875B572AA1835D2DBA51C588E601FA684CF4C
必填
index
number
页码 默认1
可选
size
number
每页数量 默认10
可选
key
string
关键字 非必填
可选
class_id
number
分类ID 默认0(全部)
可选
type
number
分类类型 1(常规) 2(院感)默认1
必填

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
list
array
数据列表
必填
product_id
int
商品ID 示例:1
必填
name
string
商品名称 示例:产品名称
必填
price
int
商品价格 示例:125
必填
content
string
商品内容 示例:产品内容
必填
containers_list
array
数据列表 容器例表
必填
id
int
容器ID 示例:1
必填
img_url
string
容器图片 示例:http://xxx
必填
name
string
容器名称 示例:容器1
必填
notes
string
注意事项 示例:注意事项
必填
specimen_type
int
容器样本类型 示例:1
必填
specimen_type_name
string
容器样本类型名称 示例:血液
必填
com_id
string
组合ID
必填
com_name
string
组合名称
必填
samp_sam_id
string
组合样本类型ID
必填
samp_sam_name
string
组合样本类型名称
必填
items_list
array
数据列表 检测项目例表
必填
item_id
int
检测项目 示例:1
必填
item_name
string
检测项目名称 示例:检测项目
必填
is_hospital
bool
是否院感
必填
class_id
string
分类ID
必填
class_name
string
分类名称
必填
total
int
总数
必填
ret
int
示例:0
必填
err_code
int
示例:0
必填
msg
string
示例:ok
必填

说明 / 示例

## 接口地址 https://xxxx.com/WebServiceForDoctor.asmx ## 成功返回示例 新 ```language { "data": { "product_id": 1, "name": "产品名称", "content": "产品内容", "is_hospital": false, "class_id": "1", "class_name": "常规", "price": 125.00, "containers_list":[ { "id":1, "img_url":"http://xxx", "name":"容器1", "notes":"注意事项", "specimen_type":1, "specimen_type_name":"血液", "com_id":"10716", "com_name":"心肌酶四项", "samp_sam_id":"11781", "samp_sam_name":"血清" } ], "items_list":[ { "item_id":1, "item_name":"检测项目" } ] }, "ret": 0, "err_code": 0, "msg": "ok" } ``` >i 注:ret = 0 为成功 ## 失败返回示例 ```language { "ret": 4, "msg": "参数不能为空", "err_code": 10008 } ``` >d 注:ret > 0 为失败 ## 错误编号(errCode):

响应参数-新

参数名
类型
描述
必填
ret
number
示例:0
必填
err_code
number
示例:0
必填
msg
string
示例:ok
必填
data
object
数据字典
必填
id
number
示例:10003
必填
name
string
示例:七分裤
必填
comment_count
number
示例:0
必填
sale_count
number
示例:0
必填
subtitle
string
示例:甚至三厢一非顶不可在末枯要
必填
service_list
array
数据列表
必填
name
string
示例:7天包退
必填
content
string
示例:7天包退7天包退
必填
attributes
array
数据列表
必填
name
string
示例:一箱
必填
content
string
示例:24包
必填
album
array
数据列表
必填
url
string
示例:http://localhost:6020/Upload/Product/10003/product_1572417096.mp4
必填
poster
string
示例:http://localhost:6020/Upload/Product/10003/product_1570728088.jpg
必填
type
number
示例:2
必填
pic_info
array
数据列表
必填
url
string
示例:http://localhost:6020/Upload/Product/10003/product_1570728095.jpg
必填
poster
string
示例:
必填
type
number
示例:1
必填
product
object
数据字典
必填
index
number
示例:0
必填
price
number
示例:100
必填
market_price
number
示例:120
必填
stock
number
示例:0
必填
specs_list
array
数据列表
必填
goods_activities
array
数据列表
必填
tj_titel
string
示例:
必填
tj_content
string
示例:
必填