文档
测试

拼团商品详情

POST
http://192.168.1.221/shop/api.groupbuy/detail

接口描述

John

请求参数

参数名
类型
描述
必填
id
int
示例:170
必填
apitoken
string
示例:
必填

响应参数

参数名
类型
描述
必填
goods_id
int
商品id
必填
goods_name
string
商品名
必填
shop_price
string
拼团价
必填
market_price
string
原价
必填
m_goods_desc
string
描述
必填
pt_count
int
正在拼团人数
必填
countdown
array
拼团倒计时
必填
is_collect
int
1已收藏
必填
goods_thumb
array
图片
必填
ordering
array
拼团情况
必填
comment
array
评论
必填
groupbuy.is_allow
int
1允许发起拼团
必填
groupbuy.num
int
成团人数
必填
groupbuy.rate
int
佣金比例
必填
groupbuy.valid_time
int
拼团结束时间
必填
end_date
string
预计发货时间
必填
sku
array
规格
必填
country
string
来自哪个国家
必填
send_address
string
发货地
必填
shipping_fee
int
运费
必填
ordering。num
剩下可拼团人数
必填
ordering。end_time
倒计时
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
object
数据字典
必填
goods_id
int
示例:170
必填
is_spec
int
示例:1
必填
limit_num
int
示例:100
必填
goods_name
string
示例:测试001
必填
shop_price
string
示例:100.00
必填
market_price
string
示例:0.00
必填
m_goods_desc
string
示例:<p> atadjopg ua]- opadj gpoaf gbpadfj n </p> <p> <img src="http://192.168.1.221/upload/image/20210408/1617864838438.jpg" alt="" /> </p>
必填
country
string
示例:鸡棚
必填
send_address
string
示例:杰鹏鸡棚鸡棚
必填
countdown
object
数据字典
必填
day
int
示例:11
必填
hour
string
示例:09
必填
min
string
示例:43
必填
sec
string
示例:46
必填
end_date
string
示例:04-30 24:00
必填
is_collect
int
示例:0
必填
lstSKUArr
array
数据列表
必填
name
string
示例:颜色
必填
lstVal
array
数据列表
必填
id
int
示例:2
必填
val
string
示例:红色
必填
issel
int
示例:1
必填
isdef
int
示例:1
必填
is_show
int
示例:1
必填
new_name
string
示例:颜色
必填
sub_goods
array
数据列表
必填
sku_id
int
示例:61
必填
store_id
int
示例:0
必填
supplyer_id
int
示例:0
必填
goods_id
int
示例:170
必填
sku_model
int
示例:2
必填
sku
string
示例:1:4
必填
sku_val
string
示例:2:5
必填
sku_name
string
示例:红色,M码
必填
goods_sn
string
示例:001
必填
bar_code
string
示例:
必填
goods_number
int
示例:96
必填
goods_weight
string
示例:0.00
必填
market_price
string
示例:0.00
必填
shop_price
string
示例:100.00
必填
promote_price
string
示例:0.00
必填
settle_price
string
示例:0.00
必填
add_time
int
示例:1618458643
必填
update_time
int
示例:1618488975
必填
BuyMaxNum
int
示例:96
必填
sale_price
string
示例:100.00
必填
exp_price
array
数据列表
必填
skuCstom
object
数据字典
必填
1
string
示例:颜色
必填
2
string
示例:红色
必填
3
string
示例:蓝色
必填
4
string
示例:尺寸
必填
5
string
示例:M码
必填
6
string
示例:L码
必填
18
string
示例:S码
必填
shipping_fee
int
示例:0
必填
sku
array
数据列表
必填
sku_id
int
示例:61
必填
sku_name
string
示例:红色,M码
必填
goods_thumb
string
示例:
必填
groupbuy
object
数据字典
必填
is_allow
int
示例:0
必填
goods_thumb
array
数据列表
必填
pt_count
int
示例:1
必填
ordering
array
数据列表
必填
oid
int
示例:19
必填
num
int
示例:8
必填
end_time
object
数据字典
必填
day
int
示例:0
必填
hour
string
示例:08
必填
min
string
示例:42
必填
sec
string
示例:51
必填
nick_name
string
示例:冰淇淋
必填
headimgurl
string
示例:https://thirdwx.qlogo.cn/mmopen/vi_32/ZYXObn200flV108Xl8icFKl6iaN9Wic6GXqv2cKd6Ya28wFw9picK6KllnaIgLibhicuHu3VoN3VGwTsBOoj4fyd6zJA/132
必填
finish_time
int
示例:1618829645
必填
comment
array
数据列表
必填
goods_number
int
库存
必填

说明 / 示例

``` { "code": 1, "msg": "success", "data": { "list": { "goods_id": 170, "is_spec": 1, "limit_num": 100, "goods_name": "测试001", "goods_number": 1044, "shop_price": "100.00", "market_price": "0.00", "m_goods_desc": "<p>\n\tatadjopg ua]- opadj gpoaf gbpadfj n\n</p>\n<p>\n\t<img src=\"http://192.168.1.221/upload/image/20210408/1617864838438.jpg\" alt=\"\" /> \n</p>", "country": "鸡棚", "send_address": "杰鹏鸡棚鸡棚", "countdown": { "day": 11, "hour": "08", "min": "48", "sec": "14" }, "end_date": "04-30 24:00", "is_collect": 0, "lstSKUArr": [ { "name": "颜色", "lstVal": [ { "id": 2, "val": "红色", "issel": 1, "goods_thumb": "", "isdef": 1 }, { "id": 3, "val": "蓝色", "issel": 1, "goods_thumb": "" } ], "is_show": 1, "new_name": "颜色" }, { "name": "尺寸", "lstVal": [ { "id": 5, "val": "M码", "issel": 1, "goods_thumb": "", "isdef": 1 }, { "id": 6, "val": "L码", "issel": 1, "goods_thumb": "" }, { "id": 18, "val": "S码", "issel": 1, "goods_thumb": "" } ], "is_show": 1, "new_name": "尺寸" } ], "sub_goods": [ { "sku_id": 61, "store_id": 0, "supplyer_id": 0, "goods_id": 170, "sku_model": 2, "sku": "1:4", "sku_val": "2:5", "sku_name": "红色,M码", "goods_sn": "001", "bar_code": "", "goods_number": 96, "goods_weight": "0.00", "market_price": "0.00", "shop_price": "100.00", "promote_price": "0.00", "settle_price": "0.00", "add_time": 1618458643, "update_time": 1618801237, "BuyMaxNum": 96, "sale_price": "100.00", "exp_price": [ "100", "00" ] }, { "sku_id": 62, "store_id": 0, "supplyer_id": 0, "goods_id": 170, "sku_model": 2, "sku": "1:4", "sku_val": "2:6", "sku_name": "红色,L码", "goods_sn": "002", "bar_code": "", "goods_number": 100, "goods_weight": "0.00", "market_price": "0.00", "shop_price": "1020.00", "promote_price": "0.00", "settle_price": "0.00", "add_time": 1618458643, "update_time": 1618801237, "BuyMaxNum": 100, "sale_price": "1020.00", "exp_price": [ "1020", "00" ] }, { "sku_id": 63, "store_id": 0, "supplyer_id": 0, "goods_id": 170, "sku_model": 2, "sku": "1:4", "sku_val": "2:18", "sku_name": "红色,S码", "goods_sn": "003", "bar_code": "", "goods_number": 100, "goods_weight": "0.00", "market_price": "0.00", "shop_price": "100.00", "promote_price": "0.00", "settle_price": "0.00", "add_time": 1618458643, "update_time": 1618801237, "BuyMaxNum": 100, "sale_price": "100.00", "exp_price": [ "100", "00" ] }, { "sku_id": 64, "store_id": 0, "supplyer_id": 0, "goods_id": 170, "sku_model": 2, "sku": "1:4", "sku_val": "3:5", "sku_name": "蓝色,M码", "goods_sn": "004", "bar_code": "", "goods_number": 100, "goods_weight": "0.00", "market_price": "0.00", "shop_price": "100.00", "promote_price": "0.00", "settle_price": "0.00", "add_time": 1618458643, "update_time": 1618801237, "BuyMaxNum": 100, "sale_price": "100.00", "exp_price": [ "100", "00" ] }, { "sku_id": 65, "store_id": 0, "supplyer_id": 0, "goods_id": 170, "sku_model": 2, "sku": "1:4", "sku_val": "3:6", "sku_name": "蓝色,L码", "goods_sn": "005", "bar_code": "", "goods_number": 100, "goods_weight": "0.00", "market_price": "0.00", "shop_price": "100.00", "promote_price": "0.00", "settle_price": "0.00", "add_time": 1618458643, "update_time": 1618801237, "BuyMaxNum": 100, "sale_price": "100.00", "exp_price": [ "100", "00" ] }, { "sku_id": 66, "store_id": 0, "supplyer_id": 0, "goods_id": 170, "sku_model": 2, "sku": "1:4", "sku_val": "3:18", "sku_name": "蓝色,S码", "goods_sn": "006", "bar_code": "", "goods_number": 100, "goods_weight": "0.00", "market_price": "0.00", "shop_price": "100.00", "promote_price": "0.00", "settle_price": "0.00", "add_time": 1618458643, "update_time": 1618801237, "BuyMaxNum": 100, "sale_price": "100.00", "exp_price": [ "100", "00" ] } ], "skuCstom": { "1": "颜色", "2": "红色", "3": "蓝色", "4": "尺寸", "5": "M码", "6": "L码", "18": "S码" }, "shipping_fee": 0, "sku": [ { "sku_id": 61, "sku_name": "红色,M码", "goods_thumb": "/upload/gimg/2021/04/607cf24d40a52_thumb.png" }, { "sku_id": 62, "sku_name": "红色,L码", "goods_thumb": "/upload/gimg/2021/04/607cf25316080_thumb.JPG" }, { "sku_id": 63, "sku_name": "红色,S码", "goods_thumb": "" }, { "sku_id": 64, "sku_name": "蓝色,M码", "goods_thumb": "" }, { "sku_id": 65, "sku_name": "蓝色,L码", "goods_thumb": "" }, { "sku_id": 66, "sku_name": "蓝色,S码", "goods_thumb": "" } ], "groupbuy": { "is_allow": 0 }, "goods_thumb": [ "/upload/gimg/2021/04/607cf25316080.JPG", "/upload/gimg/2021/04/607cf24d40a52.png", "/upload/gimg/2021/04/60765922e215a.gif", "/upload/gimg/2021/04/6076591a16a68.png", "/upload/gimg/2021/04/60765914f1fd4.png" ], "pt_count": 1, "ordering": [ { "oid": 19, "num": 8, "end_time": { "day": 0, "hour": "07", "min": "47", "sec": "19" }, "nick_name": "冰淇淋", "headimgurl": "https://thirdwx.qlogo.cn/mmopen/vi_32/ZYXObn200flV108Xl8icFKl6iaN9Wic6GXqv2cKd6Ya28wFw9picK6KllnaIgLibhicuHu3VoN3VGwTsBOoj4fyd6zJA/132", "finish_time": 1618829645 } ], "comment": [ { "user_name": "林瑞", "headimgurl": "", "content": "很好很好很好很好很好很好很好很好很好很好", "create_time": "2019-07-25", "favor": 5, "thumbnail": "/upload/comment/20190725/x8e1YVLtgvQb.jpg" } ] } } } ```