登录 官网首页

团购详情

团购详情

URL地址

http://www.tpshop.com/index.php?m=api&c=activity&a=group

请求方式

post

参数列表


参数

是否必须

说明

id

必须

团购详情ID


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*
成功示例
 
{
    "status": 1,
    "msg": "获取成功",
    "result": {
        "goods": {
            "goods_id": "1",
            "cat_id": "12",
            "goods_sn": "TP000000",
            "goods_name": "Apple iPhone 6s Plus 16G 玫瑰金 移动联通电信4G手机",
            "click_count": "186",
            "brand_id": "11",
            "store_count": "600",
            "comment_count": "1",
            "weight": "9000",
            "market_price": "8000.00",
            "shop_price": "6000.00",
            "is_promote": "1",
            "promote_price": "1000.00",
            "promote_start_time": "1451577600",
            "promote_end_time": "1483286400",
            "keywords": "LG 3g 876 支持 双模 2008年04月 灰色 GSM,850,900,1800,1900",
            "goods_remark": "选择【联通合约机0元购机】,购机款仅需4066rn选择【移动合约机】,锯惠5588,不换号,购机入网返高额话费~rn选【电信合约机】,买手机送话费!激活到账100元,实付低至29元/月,月享4GB大流量rn选择【联通合约机0元购机】,购机款仅需4066rn选择【移动合约机】,锯惠5588,不换号,购机入网返高额话费~rn选【电信合约机】,买手机送话费!激活到账100元,实付低至29元/月,月享4GB大流量",
            "goods_content": "<p style="text-align: center;"><img src="http://www.tpshop.com/Public/upload/goods/2016/03-09/56e01a6586cd0.jpg" title="4.jpg"/></p>",
            "original_img": "http://www.tpshop.com/Public/upload/goods/2016/03-09/56e01a4088d3b.jpg",
            "is_real": "1",
            "is_on_sale": "1",
            "is_baoyou": "0",
            "on_time": "0",
            "order": "54",
            "is_tuijian": "0",
            "is_new": "1",
            "is_hot": "1",
            "last_update": "1269589545",
            "goods_type": "4",
            "spec_type": "4",
            "goods_attr_list": [
                {
                    "goods_attr_id": "799",
                    "goods_id": "1",
                    "attr_id": "81",
                    "attr_value": "高价机",
                    "attr_price": "0",
                    "attr_name": "价格等级"
                },
                {
                    "goods_attr_id": "798",
                    "goods_id": "1",
                    "attr_id": "79",
                    "attr_value": "支持",
                    "attr_price": "0",
                    "attr_name": "彩信/彩e"
                },
            ],
            "goods_spec_list": [
                {
                    "spec_name": "内存",
                    "item_id": "13",
                    "item": "16G",
                    "src": ""
                },
                {
                    "spec_name": "颜色",
                    "item_id": "99",
                    "item": "银色",
                    "src": "http://www.tpshop.com/Public/upload/goods/2016/03-09/56e01ccaa98c4.jpg"
                },
            ]
        },
        "spec_goods_price": {   // 键值对 价格 库存表  参见 附 1 图 在用户勾选属性后 得到一个key 获取对应的价格和库存
            "28_100": {
                "key": "28_100",
                "price": "6100.00",
                "store_count": "100"
            },
            "28_99": {
                "key": "28_99",
                "price": "6200.00",
                "store_count": "100"
            },
        },
        "prom": {                //团购详情信息
            "price": "1580.00",
            "prom_type": 0,
            "prom_id": 0,
            "is_end": 1
        },
        "gallery": [
            {
                "image_url": "http://www.tpshop.com/Public/upload/goods/2016/03-09/56e01a54a2c6d.jpg"
            },
            {
                "image_url": "http://www.tpshop.com/Public/upload/goods/2016/03-09/56e01a54bcc53.jpg"
            },
            {
                "image_url": "http://www.tpshop.com/Public/upload/goods/2016/03-09/56e01a54de5a9.jpg"
            }
        ]
    }
}
  
失败示例
{
    "status": "fail",
    "msg": "没有该商品",
    "result": ""
}
*/

文章未显示完整,要查看完整内容,请购买正版