## 示例
~~~[api]
get:http://hw.duoxunwl.com/app/api.php?i=1&m=we7_wmall&c=entry&do=api&ctrl=wmall&ac=store&op=goods&ta=index
*sid=1009#门店ID
*roomid=1#会议室ID
<<<
success
{
"errno": 0,
"message": {
"store": {
"id": "1009", //门店ID
"title": "德洲汉堡(礼县店)名字特别长的门店", //门店名称
"status": "1", //门店状态 1表示显示 0表示隐藏
"is_rest": "0", //门店是否打烊
"is_in_business_hours": true, //门店是否在营业时间
"location_x": "37.795855", //门店纬度
"location_y": "112.588787", //门店经度
"address": "北张购物广场", //门店地址
"telephone": "0351-2363721", //门店电话
"logo": "http://testlala.oss-cn-qingdao.aliyuncs.com/images/1/2021/03/M97W9O29VJvofFZV5d9Vz9FJ99Vqqd.jpg", //门店Logo
"delivery_time": "24", //门店平均配送时长
"delivery_title": "啦啦配送", //配送方名称
"delivery_type": "3", //门店配送方式 1仅支持骑手配送 2仅支持到店自提 3二者均支持
"send_price": "1", //起送价
"delivery_price": 1, //配送费
"business_hours_cn": "06:26~13:00,14:00~21:47", //营业时间
"is_favorite": true, //顾客是否收藏了门店
"images": null,
"notice": "商户公告内容", //门店公告
"tips": "进入列表页提示", //商品列表页提示
"score": 4.2, //门店评分
"favor": 652, //门店好评数
"sailed": "2847" //门店已售商品数,
"distance": 10.5 //门店距离 单位km
},
"cart": { //顾客在当前门店添加的购物车数据
"errno": 0,
"message": {
"cart": {
"uniacid": 1,
"sid": 1009,
"uid": "10158",
"groupid": "0",
"num": 2,
"price": 9.5, //商品总价
"caigou_price": 9.5,
"box_price": 3.5, //餐盒费
"data": [
[
{
"title": "卤鸡蛋-名字特别长的商品", //商品名称
"goods_id": 37470, //商品ID
"cid": "4105", //商品所属一级分类ID
"child_id": "4107", //商品所属二级分类ID
"bargain_id": 0,
"bargain_type": null,
"thumb": "http://testlala.oss-cn-qingdao.aliyuncs.com/images/10/2020/11/fYr4cN0kCNrRRsz9n018X929610jx1.jpg", //商品图片
"num": 1, //商品数量
"discount_num": 0, //折扣商品数量
"total_discount_price": 8, //折扣价
"total_price": 10, //原价
"total_discount_price_show": 8,
"total_price_show": 8,
"is_show": 1,
"goods_price": 8 //商品单价
}
],
[
{
"title": "卤鸡蛋",
"goods_id": 37468,
"cid": "4105",
"child_id": "4107",
"bargain_id": 0,
"bargain_type": null,
"thumb": "http://testlala.oss-cn-qingdao.aliyuncs.com/images/10/2020/11/fYr4cN0kCNrRRsz9n018X929610jx1.jpg",
"num": 1,
"discount_num": 0,
"total_discount_price": 1.5,
"total_price": 1.5,
"total_discount_price_show": 1.5,
"total_price_show": 1.5,
"is_show": 1
"goods_price": 1.5
}
],
[
{
"title": "餐盒费",
"goods_id": "88888", //餐盒费 ID固定为88888
"cid": null,
"child_id": null,
"bargain_id": null,
"bargain_type": null,
"thumb": null,
"num": 0,
"discount_num": 0,
"total_discount_price": 3.5,
"total_price": null,
"total_discount_price_show": null,
"total_price_show": null,
"is_show": null
}
]
],
"addtime": 1626332064,
"bargain_use_limit": 0,
"issubmit": 0,
"weight": 200,
"is_buysvip": 0,
"id": "696",
"discount_notice": {
"note": "再买 0.5 , 可减 1 ",
"leave_price": 0.5,
"back_price": "1"
},
"total_huangou_price": 0,
"cart_price": 13,
},
"msg": null
}
},
"cate_has_goods": [ //商品分类及分类下商品的数据
{
"id": "4105", //商品分类ID
"title": "汉堡", //分类名称
"thumb": "http://testlala.oss-cn-qingdao.aliyuncs.com/images/1/2020/11/lrGrLr1ggt9T71O00Jl71VO0ClCQiP.jpg", //分类图标
"category_min_fee": "0.00", //分类最低消费金额
"total": 0,
"goods": [ //分类下的商品数据
{
"id": "37470", //商品ID
"cid": "4105", //商品分类ID
"title": "卤鸡蛋-名字特别长的商品", //商品名称
"price": 8, //商品现价
"old_price": "10", //商品原价
"ts_price": "20", //堂食价格
"box_price": "1.5", //餐盒费
"svip_status": "1",
"svip_price": "8",
"kabao_status": 0,
"kabao_price": "a:2:{i:17;a:2:{s:8:\"group_id\";s:2:\"17\";s:11:\"kabao_price\";d:1.5;}i:18;a:2:{s:8:\"group_id\";s:2:\"18\";s:11:\"kabao_price\";d:1.5;}}",
"total": "-1", //库存
"thumb": "http://testlala.oss-cn-qingdao.aliyuncs.com/images/10/2020/11/fYr4cN0kCNrRRsz9n018X929610jx1.jpg", //商品图片
"sailed": "312", //已售份数
"sailed_month": "50", //月售份数
"label": "热卖", //商品标签
"content": "原料:蛋类", //商品描述
"is_options": "0",
"is_materials": "0",
"attrs": [],
"unitnum": "1",
"comment_good": "2", //好评数
"status": "1",
"is_sail_now": 1,
"totalnum": 1,
"unitname_cn": "/份", //单位
"wxapp_link": "/pages/store/goodsDetail?sid=1009&pindan_id=0&id=37470",
"options": null,
"materials": null,
"is_attrs": 0,
"config_svip_status": true,
"from": "goods",
"options_data": [
{
"id": "0",
"name": "",
"price": 8,
"origin_price": "10",
"caigou_price": "8",
"total": "-1",
"svip_status": "1",
"svip_price": "8",
"kabao_status": "0",
"kabao_price_all": {
"17": {
"group_id": "17",
"kabao_price": 1.5
},
"18": {
"group_id": "18",
"kabao_price": 1.5
}
},
"weight": null,
"packtype_id": "1",
"num": 1
}
],
"is_specs": 0,
"show": 0,
"discount": 8,
"svip_buy_show": 0,
"origin_price": "10",
"is_in_business_hours": true,
"bargain_id": 0,
"discount_price": "8"
}
]
}
],
}
}
<<<
error
{
"errno": -2,
"message": "门店不存在或已经删除"
}
~~~