1.商品详情

接口

POST https://open.jisuapp.cn/business/Shop/GetGoods/

请求参数说明

Content-Type: application/x-www-form-urlencoded

参数 类型 必填 说明
access_token String Y 用户授权的唯一票据
data_id int Y 商品id

参数详情说明

参数详情说明请参照商品列表

参数返回示例

{
    "status": 0,
    "data": [
        {
            "form_data": {
                "description": "2222",
                "model": {
                    "1": {
                        "id": "1",
                        "name": "尺码",
                        "subModelName": [
                            "tt",
                            "qq",
                            "ww"
                        ],
                        "subModelId": [
                            30,
                            31,
                            32
                        ]
                    },
                    "6": {
                        "id": "6",
                        "name": "种类",
                        "subModelName": [
                            "1",
                            "2"
                        ],
                        "subModelId": [
                            33,
                            34
                        ]
                    }
                },
                "type": 0,
                "delivery_id": "0",
                "region_id": "",
                "id": "12108",
                "app_id": "3VYT6Il997",
                "title": "22222",
                "cover": "http://img.zhichiwangluo.com/zcimgdir/album/file_5adda075a34e8.jpg",
                "price": "1.00",
                "sale_price": "0.00",
                "category": [
                    "ceshi_2_1"
                ],
                "sales": "0",
                "is_recommend": "0",
                "stock": "6",
                "weight": "0",
                "goods_type": "0",
                "max_can_use_integral": "0",
                "integral": "-1",
                "mass": "1.000",
                "volume": "1.000",
                "express_rule_id": "0",
                "is_seckill": "1",
                "seckill_status": "1",
                "virtual_price": "0.00",
                "add_time": "1531736545",
                "update_time": "1531736545",
                "viewed_count": "0",
                "sell_time": "",
                "status": "0",
                "category_id": [
                    "5544"
                ],
                "goods_price": "1.00 ~ 6.00",
                "model_items": [
                    {
                        "id": "15150",
                        "goods_id": "12108",
                        "model": "30,33",
                        "price": "1.00",
                        "stock": "1",
                        "commodity_code": null,
                        "add_time": "1531736545",
                        "sales": "0",
                        "seckill_stock": "0",
                        "seckill_price": "0.00",
                        "seckill_sales": "0",
                        "img_url": "",
                        "virtual_price": "0.00",
                        "no_discount": "0",
                        "code": ""
                    },
                    {
                        "id": "15151",
                        "goods_id": "12108",
                        "model": "30,34",
                        "price": "2.00",
                        "stock": "1",
                        "commodity_code": null,
                        "add_time": "1531736545",
                        "sales": "0",
                        "seckill_stock": "0",
                        "seckill_price": "0.00",
                        "seckill_sales": "0",
                        "img_url": "",
                        "virtual_price": "0.00",
                        "no_discount": "0",
                        "code": ""
                    },
                    {
                        "id": "15152",
                        "goods_id": "12108",
                        "model": "31,33",
                        "price": "3.00",
                        "stock": "1",
                        "commodity_code": null,
                        "add_time": "1531736545",
                        "sales": "0",
                        "seckill_stock": "0",
                        "seckill_price": "0.00",
                        "seckill_sales": "0",
                        "img_url": "",
                        "virtual_price": "0.00",
                        "no_discount": "0",
                        "code": ""
                    },
                    {
                        "id": "15153",
                        "goods_id": "12108",
                        "model": "31,34",
                        "price": "4.00",
                        "stock": "1",
                        "commodity_code": null,
                        "add_time": "1531736545",
                        "sales": "0",
                        "seckill_stock": "0",
                        "seckill_price": "0.00",
                        "seckill_sales": "0",
                        "img_url": "",
                        "virtual_price": "0.00",
                        "no_discount": "0",
                        "code": ""
                    },
                    {
                        "id": "15154",
                        "goods_id": "12108",
                        "model": "32,33",
                        "price": "5.00",
                        "stock": "1",
                        "commodity_code": null,
                        "add_time": "1531736545",
                        "sales": "0",
                        "seckill_stock": "0",
                        "seckill_price": "0.00",
                        "seckill_sales": "0",
                        "img_url": "",
                        "virtual_price": "0.00",
                        "no_discount": "0",
                        "code": ""
                    },
                    {
                        "id": "15155",
                        "goods_id": "12108",
                        "model": "32,34",
                        "price": "6.00",
                        "stock": "1",
                        "commodity_code": null,
                        "add_time": "1531736545",
                        "sales": "0",
                        "seckill_stock": "0",
                        "seckill_price": "0.00",
                        "seckill_sales": "0",
                        "img_url": "",
                        "virtual_price": "0.00",
                        "no_discount": "0",
                        "code": ""
                    }
                ],
                "app_name": "我的应用5",
                "express_fee": "包邮",
                "server_time": 1534840949,
                "recommend_type": 0,
                "recommend_info": [],
                "is_group_buy": "0"
            },
            "weight": "0"
        }
    ],
    "is_more": 0,
    "current_page": -1,
    "count": "1",
    "total_page": 1
}

返回参数说明

`attributes`属性结构:
"attributes": [
    {
        "id": "2704",
        "name": "配料",
        "is_default": "1",
        "selected_type": "0",
        "elem": [
            {
                "id": "11",
                "name": "番茄酱",
                "price": "3.00",
                "symbol": "1",
                "category_id": "4",
                "attributes_id": "2704",
                "category_name": "高档"
            }
        ]
    }
]

`package`套餐结构
"package": [
    {
        "id": "4",
        "name": "默认分组",
        "min_sales_num": "1",
        "max_sales_num": "5",
        "goods_list": {
            "28799_513935": {
                "goods_id": "28799",
                "model_id": "513935",
                "added_price": "0.00",
                "min_sales_nums": "0",
                "weight": "0",
                "group_id": "4",
                "is_require": "1",
                "is_multi_select": "0",
                "id": "5",
                "attributes": [
                    {
                        "id": "2704",
                        "name": "配料",
                        "is_default": "1",
                        "selected_type": "0",
                        "elem": [
                            {
                                "id": "11",
                                "name": "番茄酱",
                                "price": "3.00",
                                "symbol": "1",
                                "category_id": "4",
                                "attributes_id": "2704",
                                "category_name": "高档"
                            }
                        ]
                    }
                ],
                "price": "33.00",
                "stock": "455",
                "model_name": "X|red"
            }
        }
    }
]

results matching ""

    No results matching ""