文档
测试

获取商品集合(分页)

GET
{{url_logic}}/goods/search/list

请求参数

参数名
类型
描述
必填
search
string
根据类型、名字、名字缩写首字母搜索
必填
type
int
类型
必填
page
int
第几页
必填
num
int
每页显示几条数据
必填

响应数据

```json { "errorCode": 0, "msgType": 1, "result": [ { "abbreviation": "ej", "id": 45, "name": "阿胶", "pharmacyIdList": [4], "pharmacy_id_list": "4", "priceList": [ { "group_id": 45, "id": 53, "name": "阿胶", "num": 1, "num_count": 50, "parameter": "[2g*50袋]", "price": 143.5, "price_patient": 0 }, { "group_id": 45, "id": 54, "name": "阿胶", "num": 1, "num_count": 100, "parameter": "整盒[2g*100袋]", "price": 287, "price_patient": 0 } ], "type": 10 }, { "abbreviation": "adc", "id": 46, "name": "矮地茶", "pharmacyIdList": [4], "pharmacy_id_list": "4", "priceList": [ { "group_id": 46, "id": 55, "name": "矮地茶", "num": 1, "num_count": 50, "parameter": "整盒[15g*50袋]", "price": 43, "price_patient": 0 } ], "type": 10 }, { "abbreviation": "ay", "id": 47, "name": "艾叶", "pharmacyIdList": [4], "pharmacy_id_list": "4", "priceList": [ { "group_id": 47, "id": 56, "name": "艾叶", "num": 1, "num_count": 50, "parameter": "整盒[10g*50袋]", "price": 59.5, "price_patient": 0 } ], "type": 10 }, { "abbreviation": "bjhx", "id": 48, "name": "八角茴香", "pharmacyIdList": [4], "pharmacy_id_list": "4", "priceList": [ { "group_id": 48, "id": 57, "name": "八角茴香", "num": 1, "num_count": 50, "parameter": "整盒[5g*50袋]", "price": 59.5, "price_patient": 0 } ], "type": 10 }, { "abbreviation": "bjt", "id": 49, "name": "巴戟天", "pharmacyIdList": [4], "pharmacy_id_list": "4", "priceList": [ { "group_id": 49, "id": 58, "name": "巴戟天", "num": 1, "num_count": 50, "parameter": "[10g*50袋]", "price": 139.5, "price_patient": 0 }, { "group_id": 49, "id": 59, "name": "巴戟天", "num": 1, "num_count": 100, "parameter": "整盒[10g*100袋]", "price": 279, "price_patient": 0 } ], "type": 10 }, { "abbreviation": "bq", "id": 50, "name": "菝葜", "pharmacyIdList": [4], "pharmacy_id_list": "4", "priceList": [ { "group_id": 50, "id": 60, "name": "菝葜", "num": 1, "num_count": 100, "parameter": "整盒[10g*100袋]", "price": 84, "price_patient": 0 } ], "type": 10 }, { "abbreviation": "bbd", "id": 51, "name": "白扁豆", "pharmacyIdList": [4], "pharmacy_id_list": "4", "priceList": [ { "group_id": 51, "id": 61, "name": "白扁豆", "num": 1, "num_count": 50, "parameter": "整盒[10g*50袋]", "price": 37, "price_patient": 0 } ], "type": 10 } } } ```