简要描述:
| 接口uri | 说明 |
|---|---|
| category (弃用 ) | (弃用 ) 平台分类 |
| list?keyword=adfa&cat_id=5069 (弃用 ) | (弃用 ) 平台分类商品、搜索 |
| shop/list/category | 店铺分类 (修改 2024-10-26) |
| shop/list/list?keyword=adfa&cat_id=5069&bonus_id | 店铺商品列表(分类、搜索)(修改 2024-10-26) |
| shop/list/hort-words | 热词 (修改 2024-10-26) |
简要描述:
- 热词
请求URL:
- shop/list/hort-words
请求方式:
- GET
返回示例:
正确时返回:
{"code":0,"data":["奶粉","血塞通","感冒灵"],"message":""}简要描述:
- 分类信息
请求URL:
- category (弃用)
- shop/list/category
请求方式:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| Content-Type | 是 | string | 请求类型: application/json |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|
返回示例:
正确时返回:
{
"code": 0,
"data": {
"list": {
"2": {
"cat_id": "4991",
"cat_name": "注射用药",
"parent_id": "0",
"cat_image": "",
"cat_letter": "zhusheyongyao",
"cat_level": 1,
"take_rate": "0.00",
"freebuy_take_rate": "0.00",
"reachbuy_take_rate": "0.00",
"show_mode": "0",
"show_virtual": "0",
"keywords": null,
"cat_desc": null,
"is_show": "1",
"is_parent": "1",
"cat_sort": "255",
"ext_info": null,
"cat_link": "",
"image_link": "",
"cat_type": "2",
"goods_count": "0",
"cat_goods_count": 484,
"items": [{
"cat_id": "5062",
"cat_name": "风湿伤科镇痛类",
"parent_id": "5061",
"cat_image": "/goods/category/2020/03/30/15855328213418.jpg",
"cat_letter": "fengshishangkezhentonglei",
"cat_level": 3,
"take_rate": "0.00",
"freebuy_take_rate": "0.00",
"reachbuy_take_rate": "0.00",
"show_mode": "0",
"show_virtual": "0",
"keywords": null,
"cat_desc": null,
"is_show": "1",
"is_parent": "0",
"cat_sort": "255",
"ext_info": null,
"cat_link": "",
"image_link": "",
"cat_type": "2",
"goods_count": "13",
"cat_goods_count": 13
}]
}]
},
"15": {
"cat_id": "4990",
"cat_name": "中药饮片",
"parent_id": "0",
"cat_image": "",
"cat_letter": "zhongyaoyinpian",
"cat_level": 1,
"take_rate": "0.00",
"freebuy_take_rate": "0.00",
"reachbuy_take_rate": "0.00",
"show_mode": "0",
"show_virtual": "0",
"keywords": null,
"cat_desc": null,
"is_show": "1",
"is_parent": "1",
"cat_sort": "255",
"ext_info": null,
"cat_link": "",
"image_link": "",
"cat_type": "2",
"goods_count": "0",
"cat_goods_count": 766,
"items": [{
"cat_id": "5359",
"cat_name": "散装贵细中药饮片",
"parent_id": "4990",
"cat_image": "",
"cat_letter": "sanzhuangguixizhongyaoyinpian",
"cat_level": 2,
"take_rate": "0.00",
"freebuy_take_rate": "0.00",
"reachbuy_take_rate": "0.00",
"show_mode": "0",
"show_virtual": "0",
"keywords": null,
"cat_desc": null,
"is_show": "1",
"is_parent": "1",
"cat_sort": "255",
"ext_info": null,
"cat_link": "",
"image_link": "",
"cat_type": "2",
"goods_count": "0",
"cat_goods_count": 14,
"items":null
}]
},
}
},
"message": ""
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| group_level | int | xxxx |
简要描述:
- 分类下商品列表
请求URL:
(弃用)list.html?keyword=adfa&cat_id=5069&is_free=0&is_stock=0&sort=1&order=DESC
shop/list/list?keyword=adfa&cat_id=5069&bonus_id
请求方式:
GET
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| keyword | :— | :—– | 搜索词 |
| bonus_id | :— | :—– | 红包ID |
| cat_id | :— | :—– | 分类ID |
| sort | :— | :—– | 5 默认 1销量 4价格 |
| order | :— | :—– | DESC 降序 ASC 升序 |
| go | :— | :—– | 1 2 3 页码 |
返回示例:
正确时返回:
{
"code": 0,
"data": {
"region_code": "50,01,05",
"price_show": {
"code": 1
},
"list": [{
"goods_id": "10012",
"goods_name": "氯化钠注射液 100ml:0.9g(塑瓶)",
"cat_id": "5064",
"shop_id": "22",
"sku_id": "10193",
"sku_open": "0",
"goods_price": "无购买权限",
"market_price": "无购买权限",
"activity_tag": [
"特惠限20份",
"100份起购"
],
"mobile_price": null,
"give_integral": "0",
"goods_number": "30660",
"warn_number": "0",
"goods_image": "http://oss.azmbk.com/images/shop/22/gallery/2020/04/28/15880569191618.jpg?x-oss-process=image/resize,m_pad,limit_0,h_320,w_320",
"brand_id": null,
"click_count": "23",
"sale_num": "300+",
"comment_num": "0",
"collect_num": "0",
"is_virtual": "0",
"is_best": "0",
"is_new": "0",
"is_hot": "0",
"is_promote": "0",
"freight_id": "21",
"sales_model": "0",
"goods_sort": "255",
"last_time": "1588754150",
"goods_mode": "0",
"user_discount": "0",
"is_cross_border": "0",
"cart_step": "1",
"shop_name": "澳洲玛医药官方旗舰店",
"shop_type": "2",
"is_supply": "1",
"show_price": "1",
"show_content": "",
"button_content": "",
"is_free": "0",
"brand_name": null,
"button_url": "",
"goods_status": "1",
"hd_categorys": "170108",
"hd_region": null,
"hd_is_special": "1",
"is_sync_restriction": "1",
"hd_price_group": null,
"vip_discount": null,
"right_id": null,
"vip_refund": null,
"stockable": "1",
"act_id": 0,
"act_type": null,
"default_spec_id": null,
"tag_image": "http://oss.azmbk.com/images/shop/22/images/2020/06/25/15930935624252.png",
"tag_position": "0",
"is_give": null,
"give_number": null,
"is_deduction": null,
"deduction_number": null,
"goods_status_text": "",
"goods_gift": 0,
"prices": {
"is_original_price": true,
"price_type": "original_price",
"original_price": false,
"activity_price": false,
"member_price": false,
"goods_price": "1.00",
"flag_type": "0.00",
"vip_price": false,
"vip_refund": "0.00",
"activity_enable": "0.00"
},
"goods_price_format": "无购买权限",
"integral_label": "",
"discount_shop": 0,
"price_show": {
"code": 0,
"content": "无购买权限"
},
"market_price_format": "无购买权限",
"buy_enable": {
"code": 1
},
"isCollected": 0,
"cart_num": 0
}],
"page": {
"page_key": "page",
"page_id": "pagination",
"default_page_size": 10,
"cur_page": 1,
"page_size": 12,
"page_size_list": [10, 50, 500],
"record_count": 485,
"page_count": 41,
"offset": 0,
"url": null,
"sql": null
},
"goods_ids": "10012-10015-9806-9801-13772-8368-9802-13631-8338-10674-10019-13812",
"keyword": "",
"cat_id": 4991,
"scroll": 1,
"show_sale_number": "1",
},
"message": ""
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| medicine_type | int | 0 其他 1 处方药 2 非处方药 |
| goods_price_format | int | 商品售价 |
| market_price_format | int | 市场价 |
| cart_num | int | 购物车中数量 |
| act_type | int | 活动类型 |
| sale_num | int | 销量 |
| goods_name | int | 商品名称 |
| goods_image | int | 商品图片 |
| factory | int | 生产厂家 |
| medical_path | int | 生产资料-下载 |
| medical_type | int | 甲乙类 |
| medical_price | int | 医保价 |
| medical_code | int | 医保码 |
| specs | int | 规格 |
| date_validity | int | 有效期 |
| goods_moq | int | 最低起购量 |
| activity_tag | int | 活动标签 |
| buy_authority | int | 0 无权购买 1可以购买 |
文档更新时间: 2024-12-23 09:33 作者:xieyuhua