简要描述:

  • 分享–海报

请求URL:

请求方式:

  • get

请求参数:

参数名 是否必须 类型 说明
goods_id 商品ID
mode php

返回示例:

正确时返回:

{
    "code": 0,
    "data":"sssssss",
    "message":"OK"
}

简要描述:

  • 收藏

请求URL:

请求方式:

  • post

请求参数:

参数名 是否必须 类型 说明
goods_id 商品ID
sku_id SKU_ID

返回示例:

正确时返回:

{
    "code": 0,
    "data":null,
    "message":"收藏成功"
}

简要描述:

  • 领取红包

请求URL:

请求方式:

  • post

请求参数:

参数名 是否必须 类型 说明
bonus_id 红包ID

返回示例:

正确时返回:

{
    "code": 0,
    "data":0 领取成功不可再领 1领取成功,还可再领取 ,
    "message":"红包领取成功"
}

简要描述:

  • 商品详情 — 关联满减活动列表—红包列表–领取红包

请求URL:

  • /goods/mark-spu?id=13957

请求方式:

  • GET

请求参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "code": 0,
    "data": {
        "store_goods_url": false,
        "sku": {
            "sku_id": "21991",
            "goods_id": "21596",
            'medical_path':"大苏打水水"
            "sku_name": "红霉素软膏 1%*10g",
            "sku_image": "http://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110757556.jpg?x-oss-process=image/resize,m_pad,limit_0,h_320,w_320",
            "goods_price": "1.30",
            "original_price": "1.50",
            "market_price": "1.80",
            "goods_number": "984",
            "other_attrs": "a:7:{i:0;a:2:{s:9:\"attr_name\";s:12:\"商品名称\";s:10:\"attr_value\";a:1:{i:0;s:15:\"红霉素软膏\";}}i:1;a:2:{s:9:\"attr_name\";s:12:\"药品分类\";s:10:\"attr_value\";a:1:{i:0;s:12:\"非处方药\";}}i:2;a:2:{s:9:\"attr_name\";s:6:\"规格\";s:10:\"attr_value\";a:1:{i:0;s:6:\"1%*10g\";}}i:3;a:2:{s:9:\"attr_name\";s:12:\"用法用量\";s:10:\"attr_value\";a:1:{i:0;s:62:\"局部外用。取本品适量,涂于患处,一日2次。 \";}}i:4;a:2:{s:9:\"attr_name\";s:9:\"有效期\";s:10:\"attr_value\";a:1:{i:0;s:8:\"24个月\";}}i:5;a:2:{s:9:\"attr_name\";s:12:\"批准文号\";s:10:\"attr_value\";a:1:{i:0;s:21:\"国药准字H36020018\";}}i:6;a:2:{s:9:\"attr_name\";s:12:\"生产企业\";s:10:\"attr_value\";a:1:{i:0;s:30:\"江西德成制药有限公司\";}}}",
            "original_number": "984",
            "spec_ids": [
                ""
            ],
            "is_enable": 0,
            "cart_step": 1,
            "goods_image": "/shop/3/gallery/2020/06/15/15922110757556.jpg",
            "shop_id": "22",
            "goods_status": "1",
            "goods_audit": "0",
            "act_id": "0",
            "order_act_id": "965",
            "goods_moq": "1",
            "user_discount": "0",
            "freight_id": "21",
            "unit_name": "支",
            "is_virtual": "0",
            "medicine_type": "0",
            "ext_info": null,
            "is_supply": "1",
            "shop_type": "2",
            "show_price": "1",
            "show_content": "",
            "button_content": "",
            "button_url": "",
            "start_price": "0.00",
            "sales_model": "0",
            "is_give": null,
            "give_number": null,
            "is_deduction": null,
            "deduction_number": null,
            "validity": "",
            "predict_num": null,
            "hd_categorys": "170104",
            "hd_region": null,
            "hd_is_special": "1",
            "is_sync_restriction": "1",
            "hd_price_group": null,
            "vip_discount": null,
            "right_id": null,
            "vip_refund": null,
            "goods_mix": null,
            "price_show": {
                "code": 1
            },
            "member_price": "1.30",
            "member_price_message": "您享受二级会员价:1.30",
            "sku_member_rank_price": 1,
            "market_price_format": "1.80",
            "sku_images": [
                [
                    "http://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110757556.jpg?x-oss-process=image/resize,m_pad,limit_0,h_80,w_80",
                    "http://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110757556.jpg?x-oss-process=image/resize,m_pad,limit_0,h_450,w_450",
                    "http://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110757556.jpg"
                ]
            ],
            "spec_attr_value": "",
            "gift_list": null,
            "purchase_num": 0,
            "activity": null,
            "order_activity": {
                "act_id": "965",
                "act_img": "/shop/22/images/2024/10/09/17284409579226.png",
                "act_type": "12",
                "act_name": "测试满减",
                "purchase_num": "0",
                "ext_info":"{\"discount\":{\"5\":{\"reduce_cash\":\"5\"},\"20\":{\"reduce_cash\":\"20\"},\"25\":{\"gift\":\"966\",\"gift_name\":\"\送\赠\品XSD\"},\"30\":{\"reduce_percent\":\"2\"}},\"bonus_list\":null,\"gift_list\":[\"966\"],\"use_range_check\":\"1\",\"use_range\":\"21596\"}",
                "end_time": "1730946641",
                "start_time": "1728440921",
                "act_price": "1.50",
                "act_stock": "0",
                "sale_base": "0",
                "sku_id": "21991",
                "goods_number": "984",
                "goods_status": "1",
                "goods_price": "1.50",
                "discount": {
                    "5": {
                        "reduce_cash": "5"
                    },
                    "20": {
                        "reduce_cash": "20"
                    },
                    "25": {
                        "gift": "966",
                        "gift_name": "送赠品XSD"
                    },
                    "30": {
                        "reduce_percent": "2"
                    }
                },
                "bonus_list": null,
                "gift_list": [
                    "966"
                ],
                "use_range_check": "1",
                "use_range": "21596",
                "act_code": "full_cut",
                "discount_message": [
                    "满5元,减5元;",
                    "满20元,减20元;",
                    "满25元,送赠品;",
                    "满30元,可抵扣2%;"
                ],
                "reduce_percent": "2",
                "discount_label": [
                    "reduce_cash",
                    "gift",
                    "reduce_percent"
                ]
            },
            "saled": 0,
            "cs_act_type": 0,
            "cs_act_status": 1,
            "cs_act_status_label": null,
            "button_label": "加入购物车",
            "cs_start_time": 0,
            "cs_end_time": 0,
            "cs_start_time_format": "1970-01-01 08:00:00",
            "cs_end_time_format": "1970-01-01 08:00:00",
            "original_price_format": "1.50",
            "goods_price_format": "1.30",
            "prices": {
                "is_original_price": false,
                "price_type": "member_price",
                "original_price": "1.50",
                "activity_price": false,
                "member_price": "1.30",
                "goods_price": "1.30",
                "flag_type": "0.00",
                "vip_price": false,
                "vip_refund": "0.00",
                "activity_enable": "0.00"
            },
            "member_price_format": "1.30",
            "cash_back": null,
            "date_validity": "24个月",
            "manufactor": "江西德成制药有限公司",
            "buy_authority": 1,
            "buy_enable": {
                "code": 1
            },
            "sug_price": "1.30",
            "shipping_fee_notice": "满1000.00元包邮",
            "use_ins": null,
            "attr_list": [
                {
                    "attr_name": "商品名称",
                    "is_brand": 0,
                    "attr_values": "红霉素软膏"
                },
                {
                    "attr_name": "药品分类",
                    "is_brand": 0,
                    "attr_values": "非处方药"
                },
                {
                    "attr_name": "规格",
                    "is_brand": 0,
                    "attr_values": "1%*10g"
                },
                {
                    "attr_name": "用法用量",
                    "is_brand": 0,
                    "attr_values": "局部外用。取本品适量,涂于患处,一日2次。 "
                },
                {
                    "attr_name": "有效期",
                    "is_brand": 0,
                    "attr_values": "24个月"
                },
                {
                    "attr_name": "批准文号",
                    "is_brand": 0,
                    "attr_values": "国药准字H36020018"
                },
                {
                    "attr_name": "生产企业",
                    "is_brand": 0,
                    "attr_values": "江西德成制药有限公司"
                }
            ],
            "goods_name": "红霉素软膏 1%*10g",
            "goods_images": {
                "default": [
                    "/shop/3/gallery/2020/06/15/15922110757556.jpg",
                    "/shop/3/gallery/2020/06/15/15922110761308.jpg",
                    "/shop/3/gallery/2020/06/15/15922110767502.jpg",
                    "/shop/3/gallery/2020/06/15/15922110768446.jpg",
                    "/shop/3/gallery/2020/06/15/15922110769066.jpg"
                ]
            },
            "desc": "<p>\n\t<br />\n</p>\n<div style=\"text-align:left;\">\n\t通用名称:红霉素软膏&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t批准文号:国药准字H36020018&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t药品分类:化学药品&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t生产企业:江西德成制药有限公司(国产)&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t药品性质:OTC乙类&nbsp;\n</div>\n<p>\n\t<br />\n</p>\n<p>\n\t<br />\n</p>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t主要成份:本品每克含红霉素5毫克,辅料为赋形剂液体石蜡﹑黄凡士林。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t适应症:用于脓疱疮等化脓性皮肤病、小面积烧伤、溃疡面的感染和寻常痤疮。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t规格:10克/支&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t不良反应:偶见刺激症状和过敏反应。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t用法用量:局部外用。取本品适量,涂于患处,一日2次。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t禁忌:未进行相关实验且无可供参考数据。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t注意事项:1.避免接触眼睛和其他黏膜(如口、鼻等)。|2.用药部位如有烧灼感、瘙痒、红肿等情况应停药,并将局部药物洗净,必要时向医师咨询。|3.孕妇及哺乳期妇女应在医师指导下使用。|4.对本品过敏者禁用,过敏体质者慎用。|5.本品性状发生改变时禁止使用。|6.请将本品放在儿童不能接触的地方。|7.儿童必须在成人监护下使用。|8.如正在使用其他药品,使用本品前请咨询医师或药师。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t孕妇及哺乳期妇女用药:孕妇及哺乳期妇女应在医师指导下使用。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t儿童用药:儿童必须在成人监护下使用&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t老人用药:尚不明确。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t药物相互作用:1.与氯霉素及林可霉素有拮抗作用,应避免合用。|2.如与其他药物同时使用可能会发生药物相互作用,详情请咨询医师或药师。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t药理毒理:本品为大环内酯类抗生素,对大多数革兰阳性菌、部分革兰阴性菌及一些非典型致病菌如衣原体、支原体均有抗菌活性。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t药代动力学:未进行相关实验且无可供参考数据。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t贮藏:避光,密封。&nbsp;\n</div>\n<div style=\"text-align:left;\">\n\t<br />\n</div>\n<div style=\"text-align:left;\">\n\t有效期:24个月&nbsp;\n</div>\n<p>\n\t<br />\n</p>\n<p>\n\t<br />\n</p>\n<p>\n\t<br />\n</p>\n<p style=\"text-align:center;\">\n\t<img src=\"https://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110852070.jpg\" /><img src=\"https://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110856425.jpg\" /><img src=\"https://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110856407.jpg\" /><img src=\"https://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110858962.jpg\" /><img src=\"https://oss.azmbk.com/images/shop/3/gallery/2020/06/15/15922110857462.jpg\" /> \n</p><br/><img src=\"https://oss.azmbk.com/images/shop/22/images/2020/03/12/15839763076254.jpg\" width=\"750\" height=\"974\" alt=\"\" /><img src=\"https://oss.azmbk.com/images/shop/22/images/2020/03/12/15839763217297.jpg\" width=\"750\" height=\"875\" alt=\"\" />"
        },
        "is_weixin": false,
        "store_sellout": false,
        "shop_goods_count": "7792",
        "shop_collect_count": "61",
        "im_enable": "",
        "shop_info": {
            "shop": {
                "shop_id": "22",
            },
            "user": {
                "user_id": "282",
                "user_name": "aozhouma2019",
                "mobile": null,
                "email": null,
                "nickname": "澳洲玛医药",
                "headimg": null
            },
            "real": {
                "company_name": "14",
                "unified_social_credi": "14",
                "artificial_person": "14",
                "card_no": "14",
                "special_aptitude": "/backend/1/images/2021/04/22/16190635894778.jpg|/backend/1/images/2021/04/22/16190635996796.png|/backend/1/images/2021/04/22/16190636039339.png|/backend/1/images/2021/04/22/16190636121867.png|/backend/1/images/2021/04/22/16190659068005.png|/backend/1/images/2021/04/22/16190659182793.png",
                "card_type": "formal\r\n临时身份证"
            },
            "credit": {
                "credit_id": "7",
                "credit_name": "二钻",
                "credit_img": "/shop/shop-credit/2019/12/10/15759693676519.gif",
                "min_point": "501",
                "max_point": "1000",
                "remark": ""
            },
            "address": [
                {
                    "address_id": "2",
                    "consignee": "王是",
                    "region_code": "11,01,01",
                    "address_detail": "是打法是否",
                    "mobile": "15812034123",
                    "tel": "",
                    "email": "",
                    "is_default": "1",
                    "shop_id": "22"
                }
            ],
            "customer_main": null,
            "aliim_enable": "",
            "freebuy_enable": false,
            "shop_index_show_goods_number": "0"
        },
        "comment_count": "0",
        "collect_count": "0",
        "show_collect_count": "1",
        "bonus_list": [
            {
                "bonus_id": "627",
                "shop_id": "22",
                "bonus_type": "1",
                "bonus_name": "12121",
                "bonus_desc": null,
                "bonus_image": null,
                "send_type": "0",
                "bonus_amount": 1,
                "receive_count": "1",
                "bonus_number": "21",
                "use_range": "0",
                "new_user_bonus": "0",
                "receive_hidden": null,
                "bonus_data": "a:8:{s:10:\"start_time\";i:1728403200;s:8:\"end_time\";i:1729094399;s:9:\"time_mode\";s:1:\"0\";s:10:\"delay_days\";i:0;s:10:\"valid_days\";i:7;s:12:\"is_self_shop\";i:1;s:7:\"cat_ids\";i:0;s:9:\"goods_ids\";a:0:{}}",
                "bonus_price": 1,
                "bonus_describe": "可与其他优惠、活动一起使用",
                "is_receive": 0,
                "can_use": false,
                "bonus_use_start_time": 1728403200,
                "bonus_use_end_time": 1729094399,
                "shop_bonus": true,
                "use_describe": "本店全场满1000.00可用",
                "search_url": "/shop/22.html",
                "start_time_format": "2024.10.09 00:00:00",
                "end_time_format": "2024.10.16 23:59:59",
                "bonus_amount_format": "1.00",
                "min_goods_amount_format": "1000.00"
            }
        ],
        "rank_prices": [
            {
                "rank_name": "一级会员",
                "rank_price": 1.4,
                "rank_price_format": "1.40"
            },
            {
                "rank_name": "二级会员",
                "rank_price": 1.3,
                "rank_price_format": "1.30"
            },
            {
                "rank_name": "三级会员",
                "rank_price": 1.2,
                "rank_price_format": "1.20"
            }
        ],
        "rank_message": "您享受二级会员价:1.30",
        "show_freight_region": 1,
        "show_stock": "1",
        "region_code": "50,01,05",
        "show_pickup": "0",
        "b2b_goods_cause": null,
        "b2b_goods_cause_to_audit": null,
        "unit_list": {
            "": "-- 请选择 --",
            "5746": "本",
            "5747": "部",
            "5748": "打",
            "5749": "袋",
            "5750": "单",
            "5751": "吊",
            "5752": "顶",
            "5779": "束",
            "5780": "双",
            "5781": "头",
            "5782": "英寸",
            "5783": "盏",
            "5784": "张",
            "5785": "株",
            "5786": "组",
            "5787": "尊",
            "5788": "座"
        },
        "share": {
            "seo_goods_title": "红霉素软膏 1%*10g-八客(AZMBK.COM) - 全球直购 | 好货不贵 -",
            "seo_goods_keywords": "红霉素软膏 1%*10g -八客(AZMBK.COM) - 全球直购 | 好货不贵 -",
            "seo_goods_discription": ""
        },
        "commission_money": 0,
        "goods_qrcode_url": null,
        "share_url": "http://market.test.azmks.com/goods-21596.html?user_id=32630",
        "share_uid": 32630,
        "yikf_url": "https://ykf-webchat.7moor.com/wapchat.html?accessId=6206f260-0d84-11ed-8c8f-b3a79f442f4e&fromUrl=/goods/mark-spu.html?id=21596&urlTitle=m&language=ZHCN&clientId=17764838748&otherParams=%7B%22nickName%22%3A%2217764838748%22%2C%22cardInfo%22%3A%7B%22left%22%3A%7B%22url%22%3A%22http%3A%2F%2Foss.azmbk.com%2Fimages%2Fshop%2F3%2Fgallery%2F2020%2F06%2F15%2F15922110757556.jpg%22%7D%2C%22right1%22%3A%7B%22text%22%3A%22%E7%BA%A2%E9%9C%89%E7%B4%A0%E8%BD%AF%E8%86%8F+1%25%2A10g%22%2C%22color%22%3A%22%23595959%22%2C%22fontSize%22%3A12%7D%2C%22right2%22%3A%7B%22text%22%3A%22%22%2C%22color%22%3A%22%23595959%22%2C%22fontSize%22%3A12%7D%2C%22right3%22%3A%7B%22text%22%3A%22%C2%A51.30%22%2C%22color%22%3A%22%23595959%22%2C%22fontSize%22%3A12%7D%2C%22url%22%3A%22http%3A%2F%2Fwww.test.azmks.com%2Fgoods%2Fmark-spu.html%3Fid%3D21596%22%7D%7D",
        "cross_border_identity": "",
        "multi_store_id": 0,
        "apothecary_url": "https://ykf-webchat.7moor.com/wapchat.html?accessId=1275c740-67ba-11ed-9757-b57ff6596e9f&fromUrl=/goods/mark-spu.html?id=21596&urlTitle=m&language=ZHCN&clientId=BK177DMRW8748",
        "distrib_uid": 0,
        "distrib_id": 0,
        "percent": 0,
        "activity_goods_self": 0,
        "inquiry_way": "1"
    },
    "message": ""
}

返回参数说明:

参数名 类型 说明
share_image string 分享图片
share_title string 分享标题
share_guid string 小程序GUID
share_appid string 小程序ID
share_path string 分享小程序地址
share_h5url string 分享链接
share_description string 分享文字描述
yikf_url string 客服地址
kf_mobile string 客服电话
cart_goods_num string 当前商品在购物车中数量
cart_total_num string 购物车中总商品数量
sku.shipping_fee_notice string 配送说明
sku.is_collect string 是否收藏 true false
sku.desc string 底部商品详情
sku.medical_path string 下载资料的链接地址
sku.goods_name string 商品名字
sku.goods_image string 图片(没带前缀)
sku.goods_images.default arr 图片数组
sku.goods_price_format string 商品价格
sku.medical_price_format string 医保价(格式化)
sku.sug_price string 建议零售价
sku.price_rate string 毛利率
sku.attr_list arr 规格参数
sku.use_ins arr 使用说明
sku.goods_moq string 最小起订量
sku.sku_name string 商品名字
sku.factory string 生产企业
sku.date_validity string 有效期
sku.goods_number string 商品库存
sku.sku_image string 商品图片
sku.medicine_type string 0非药品 1处方药 2非处方药
sku.market_price_format string 市场价格(划线价)
sku.goods_price_format string 商品价格
sku.unit_name string 单位
sku.buy_authority string 0 无权购买 1可以购买
sku.member_price_message string 您享受二级会员价:1.30
sku.gift_desc string 买赠信息–字符串 (买赠xxxxx)
sku.gift_list array 买赠列表
sku.gift_list.gift_id int Gift_ID
sku.gift_list.goods_id int GOODSID
sku.gift_list.sku_name string 赠品名称
sku.gift_list.gift_number int 数量
sku.activity_tag array [“特惠X件”,”X件起购”]
sku.activity_special array 特惠:[“XXX件M”,”YYY件w”]
sku.order_activity array 优惠活动:活动信息-满减
sku.order_activity.act_id int 活动ID
sku.order_activity.discount_message array [ “满5元,减5元;”, “满20元,减20元;”, “满25元,送赠品;”, “满30元,可抵扣2%;” ],
bonus_list arr 红包列表
bonus_list.bonus_id string 红包ID
bonus_list.bonus_name string 红包名称
bonus_list.min_goods_amount string 使用条件 满XX可用
bonus_list.is_enable string 是否可用
bonus_list.use_describe string 红包描述
bonus_list.bonus_amount_format string 红包金额
bonus_list.is_receive string 是否已领取 0 1

备注:

  • 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2024-11-18 16:25   作者:xieyuhua