🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 获取拼团活动商品纤细信息 **请求URL:** - ` api/goods/getGoodsDetail` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:--- |:----- |----- | |id |必选 | int |商品ID | **json说明:** data['team'] 是拼团活动商品的信息 data['team_found'] 是正在参与该商品拼团的团 最多2条 data['goods_item'][0]['team_price'] 此字段是拼团的商品规格价 **返回示例** ``` { "code": 1, "msg": "获取成功", "data": { "id": 17, "name": "新鲜现做手撕面包蔓越莓抹茶糕点网红零食点心早餐健康奶香食品", "image": "http://www.likeshop.localhost/uploac5ccdf07.jpg", "remark": "新鲜现做手撕面包蔓越莓抹茶糕点网红零食点心早餐健康奶香食品", "content": "<p>详细</p>", "sales_sum": 214, "click_count": 418, "market_price": "37.38", "stock": 4886, "is_collect": 0, "activity": { "type": 2, "team": { "team_id": 6, "goods_id": 17, "sales_sum": 0, "share_title": "分享拼团标题", "share_intro": "分享拼团简介", "people_num": 2, "time_limit": 1, "start_time": 1610519317, "end_time": 1610519317, "team_max_price": "89.00", "team_min_price": "26.00" }, "team_found": [{ "id": 1, "team_id": 6, "found_time": 1610519317, "found_end_time": 1610519317, "nickname": "小河", "avatar": "", "join": 1, "need": 3 }] }, "like": [{ "id": 17, "name": "新鲜现做手撕面包蔓越莓抹茶糕点网红零食点心早餐健康奶香食品", "image": "http://www.likeshop.localhost/up1c5ccdf07.jpg", "price": "29.90", "team_price": "59.90", "market_price": "37.38" }, { "id": 18, "name": "元气食族&西树泡芙联名款 香草味低卡夹心札幌迷你雪泡芙甜点零食", "image": "http://www.likeshop.localhost/u8d8824b8a.jpg", "price": "168.00", "team_price": "59.90", "market_price": "198.00" }, { "id": 20, "name": "丹麦牛角面包羊角可颂汉堡包面包胚夹心黄油三明治早餐食品咸面包", "image": "http://www.likeshop.localhost/uploa46c5b.jpg", "price": "39.80", "team_price": "59.90", "market_price": "168.00" }, { "id": 21, "name": "俄罗斯风味提拉米苏正宗甜点千层蜂蜜奶油零食早餐年货蛋糕包邮", "image": "http://www.likeshop.localhost/u9bdc96a5.jpg", "price": "0.20", "team_price": "59.90", "market_price": "41.40" }, { "id": 22, "name": "网红雪媚娘咸海鸭蛋麻薯蛋黄酥手工糕点早餐面包小吃货休闲零食品", "image": "http://www.likeshop.localhost/upe233da333.jpg", "price": "18.00", "team_price": "59.90", "market_price": "39.80" }, { "id": 24, "name": "乐高旗舰店官网 成年高难度创意百变高手10262跑车积木玩具男女孩", "image": "http://www.likeshop.localhost/up2dab03f50.png", "price": "1399.00", "team_price": "59.90", "market_price": "1869.00" }, { "id": 27, "name": "Apple/苹果 iPhone 12", "image": "http://www.likeshop.localhost/uplo438564edf53.png", "price": "7999.00", "team_price": "59.90", "market_price": "7999.00" }, { "id": 29, "name": "雾霾蓝纯色套头卫衣 2020秋季新款ins圆领长袖T恤宽松男女外套潮", "image": "http://www.likeshop.localhost/u1a7c333b58f.png", "price": "59.00", "team_price": "59.90", "market_price": "69.00" }, { "id": 30, "name": "情侣内搭卡通毛衣男宽松慵懒外穿韩版2020秋冬新款中长外套ins潮", "image": "http://www.likeshop.localhost/uploade0360464f96.png", "price": "89.00", "team_price": "59.90", "market_price": "299.00" }, { "id": 32, "name": "Rampo/乱步左右拼色圆领针织衫毛衣男女韩版潮流秋冬季打底厚上衣", "image": "http://www.likeshop.localhost/uplo4a1ba4f3eddbb1.png", "price": "85.00", "team_price": "59.90", "market_price": "299.00" }, { "id": 34, "name": "阿迪达斯官网 adidas UltraBOOST 男女跑步运动鞋BB3911", "image": "http://www.likeshop.localhost/upl8ba9bfa66268.png", "price": "1399.00", "team_price": "59.90", "market_price": "1399.00" }, { "id": 35, "name": "阿迪达斯官网 adidas 三叶草 KAVAL CREW 男装春秋运动卫衣EB4092", "image": "http://www.likeshop.localhost/8278d8ae.png", "price": "179.00", "team_price": "59.90", "market_price": "799.00" }, { "id": 36, "name": "阿迪达斯官网 adidas 三叶草男装春秋运动连帽卫衣EJ9681 EJ9680", "image": "http://www.likeshop.localhost/up074bb281.png", "price": "179.00", "team_price": "59.90", "market_price": "599.00" }, { "id": 37, "name": "阿迪达斯官网 adidas 三叶草 男装春秋运动连帽套头衫 GD0956", "image": "http://www.likeshop.localhost/uplbd756acbc.png", "price": "359.00", "team_price": "59.90", "market_price": "799.00" }, { "id": 38, "name": "古讴卡智能遥控机器人高科技语音对话编程电动跳舞幼儿童玩具男孩", "image": "http://www.likeshop.localhost/upload8f617219ea88.png", "price": "399.00", "team_price": "59.90", "market_price": "999.00" }, { "id": 39, "name": "乐高旗舰店官网 机械组42099遥控越野车成年高难度积木玩具男女孩", "image": "http://www.likeshop.localhost/uplo0a3f5e1f4823.png", "price": "1999.00", "team_price": "59.90", "market_price": "2139.00" }, { "id": 40, "name": "soopsori积木玩具韩国木制婴儿1-2岁3-6周岁礼品宝宝儿童早教益智", "image": "http://www.likeshop.localhost/u856745910a677.png", "price": "418.00", "team_price": "59.90", "market_price": "618.00" }, { "id": 41, "name": "soopsori周岁礼品韩国益智玩具娃娃女孩木能小熊木偶 ", "image": "http://www.likeshop.localhost/uploads/685ef42c.png", "price": "168.00", "team_price": "59.90", "market_price": "228.00" }, { "id": 42, "name": "M1 芯片【2020新款 两年联保】Apple/苹果 MacBo笔记本电脑", "image": "http://www.likeshop.localhost/uploads/bba5d206.jpg", "price": "12999.00", "team_price": "59.90", "market_price": "13999.00" } ], "price": "29.90", "goods_spec": [{ "id": 17, "goods_id": 17, "name": "口味", "spec_value": [{ "id": 81, "goods_id": 17, "spec_id": 17, "value": "蔓越莓味215g/1个【拍2发3】" }, { "id": 82, "goods_id": 17, "spec_id": 17, "value": "牛奶味215g/1个【拍2发3】" }, { "id": 83, "goods_id": 17, "spec_id": 17, "value": "抹茶味215g/1个【拍2发3】" }, { "id": 84, "goods_id": 17, "spec_id": 17, "value": "提子味215g/1个【拍2发3】" }, { "id": 85, "goods_id": 17, "spec_id": 17, "value": "红豆味215g/1个【拍2发3】" } ] }], "goods_item": [{ "id": 1, "goods_id": 17, "image": "http://www.likeshop.localhost/upload7467fffddbd.jpg", "spec_value_ids": "81", "spec_value_str": "蔓越莓味215g/1个【拍2发3】", "market_price": "37.38", "price": "43.00", "stock": 886 }, { "id": 2, "goods_id": 17, "image": "http://www.likeshop.localhost/uploads467fffddbd.jpg", "spec_value_ids": "82", "spec_value_str": "牛奶味215g/1个【拍2发3】", "market_price": "37.38", "price": "43.00", "stock": 1000 }, { "id": 3, "goods_id": 17, "image": "http://www.likeshop.localhost/67fffddbd.jpg", "spec_value_ids": "83", "spec_value_str": "抹茶味215g/1个【拍2发3】", "market_price": "37.38", "price": "54.00", "stock": 1000 }, { "id": 4, "goods_id": 17, "image": "http://www.likeshop.localhost/8dd677467fffddbd.jpg", "spec_value_ids": "84", "spec_value_str": "提子味215g/1个【拍2发3】", "market_price": "37.38", "price": "54.00", "stock": 1000 }, { "id": 5, "goods_id": 17, "image": "http://www.likeshop.loc7467fffddbd.jpg", "spec_value_ids": "85", "spec_value_str": "红豆味215g/1个【拍2发3】", "market_price": "37.38", "price": "45.00", "stock": 1000 } ], "team": { "team_id": 6, "goods_id": 17, "sales_sum": 0, "share_title": "分享拼团标题", "share_intro": "分享拼团简介", "people_num": 2, "time_limit": 1, "start_time": 1610519317, "end_time": 1610519317, "team_max_price": "89.00", "team_min_price": "26.00" }, "team_found": [{ "id": 1, "team_id": 6, "found_time": 1610519317, "found_end_time": 1610519317, "nickname": "小河", "avatar": "", "join": 1, "need": 3 }], "goods_image": [{ "goods_id": 17, "uri": "http://www.likeshop.localhost/uc5ccdf07.jpg" }, { "goods_id": 17, "uri": "http://www.likeshop.localhost/uploafc9d68b9df.jpg" }, { "goods_id": 17, "uri": "http://www.likeshop.localhost/u7fffddbd.jpg" }, { "goods_id": 17, "uri": "http://www.likeshop.localhost/updd3a20d4082.jpg" } ], "comment": [] }, "show": 0, "time": "1.679447" } ```