### 获取商城商品列表
>[success] vip_mod 0 普通商品
> vip_mod 1 临时会员礼包
> vip_mod 2 普通会员礼包
~~~[api]
get:http://hao.xd.cuci.cc/store/api.goods/gets
string:title#商品名称搜索
string:cate_id#商品分类ID搜索
<<<
success
{
"code": 1,
"info": "获取商品列表成功!",
"data": {
"list": [
{
"id": 4,
"title": "这是面膜",
"logo": "https://ssl.cdn.cuci.cc/0d0d68399f244efd/033e4f7ce3cdfae2.png",
"cate_id": 1,
"image": [
"http://hao.xd.cuci.cc/upload/282c197000cdc36d/d330b0798933405a.jpg",
"https://ssl.cdn.cuci.cc/a3789bd6b80d2ffb/cee6e9204d2a406c.jpg"
],
"number_sales": 0,
"number_stock": 410,
"vip_mod": 0,
"vip_month": 0,
"vip_discount": "0.00",
"content": "<p><img border=\"0\" src=\"http://hao.xd.cuci.cc/upload/282c197000cdc36d/d330b0798933405a.jpg\" style=\"max-width:100%\" title=\"image\" /></p>\r\n",
"specs": [
{
"name": "颜色",
"list": [
{
"name": "白色",
"check": true
},
{
"name": "黑色",
"check": true
}
]
},
{
"name": "尺寸",
"list": [
{
"name": "大",
"check": true
},
{
"name": "中",
"check": true
},
{
"name": "小",
"check": true
}
]
}
],
"lists": [
[
{
"name": "白色",
"check": true,
"group": "颜色",
"span": 3,
"show": true,
"key": "颜色::白色;;尺寸::大",
"virtual": 19,
"market": "22.00",
"selling": "11.00",
"status": true
},
{
"name": "大",
"check": true,
"group": "尺寸",
"span": 1,
"show": true
}
],
[
{
"name": "白色",
"check": true,
"group": "颜色",
"span": 2,
"show": false,
"key": "颜色::白色;;尺寸::中",
"virtual": 19,
"market": "33.00",
"selling": "12.00",
"status": true
},
{
"name": "中",
"check": true,
"group": "尺寸",
"span": 1,
"show": true
}
],
[
{
"name": "白色",
"check": true,
"group": "颜色",
"span": 1,
"show": false,
"key": "颜色::白色;;尺寸::小",
"virtual": 19,
"market": "44.00",
"selling": "13.00",
"status": true
},
{
"name": "小",
"check": true,
"group": "尺寸",
"span": 1,
"show": true
}
],
[
{
"name": "黑色",
"check": true,
"group": "颜色",
"span": 3,
"show": true,
"key": "颜色::黑色;;尺寸::大",
"virtual": 19,
"market": "55.00",
"selling": "10.00",
"status": true
},
{
"name": "大",
"check": true,
"group": "尺寸",
"span": 1,
"show": true
}
],
[
{
"name": "黑色",
"check": true,
"group": "颜色",
"span": 2,
"show": false,
"key": "颜色::黑色;;尺寸::中",
"virtual": 19,
"market": "66.00",
"selling": "17.00",
"status": true
},
{
"name": "中",
"check": true,
"group": "尺寸",
"span": 1,
"show": true
}
],
[
{
"name": "黑色",
"check": true,
"group": "颜色",
"span": 1,
"show": false,
"key": "颜色::黑色;;尺寸::小",
"virtual": 19,
"market": "88.00",
"selling": "9.00",
"status": false
},
{
"name": "小",
"check": true,
"group": "尺寸",
"span": 1,
"show": true
}
]
],
"list": [
{
"id": 5,
"goods_id": 4,
"goods_spec": "颜色::白色;;尺寸::大",
"price_market": "22.00",
"price_selling": "11.00",
"number_sales": 0,
"number_stock": 100,
"number_virtual": 19,
"status": 1,
"create_at": "2019-01-22 17:45:36"
},
{
"id": 6,
"goods_id": 4,
"goods_spec": "颜色::白色;;尺寸::中",
"price_market": "33.00",
"price_selling": "12.00",
"number_sales": 0,
"number_stock": 110,
"number_virtual": 19,
"status": 1,
"create_at": "2019-01-22 17:45:37"
},
{
"id": 7,
"goods_id": 4,
"goods_spec": "颜色::白色;;尺寸::小",
"price_market": "44.00",
"price_selling": "13.00",
"number_sales": 0,
"number_stock": 100,
"number_virtual": 19,
"status": 1,
"create_at": "2019-01-22 17:45:37"
},
{
"id": 8,
"goods_id": 4,
"goods_spec": "颜色::黑色;;尺寸::大",
"price_market": "55.00",
"price_selling": "10.00",
"number_sales": 0,
"number_stock": 100,
"number_virtual": 19,
"status": 1,
"create_at": "2019-01-22 17:45:37"
},
{
"id": 9,
"goods_id": 4,
"goods_spec": "颜色::黑色;;尺寸::中",
"price_market": "66.00",
"price_selling": "17.00",
"number_sales": 0,
"number_stock": 0,
"number_virtual": 19,
"status": 1,
"create_at": "2019-01-22 17:45:37"
},
{
"id": 10,
"goods_id": 4,
"goods_spec": "颜色::黑色;;尺寸::小",
"price_market": "88.00",
"price_selling": "9.00",
"number_sales": 0,
"number_stock": 0,
"number_virtual": 19,
"status": 0,
"create_at": "2019-01-22 17:45:37"
}
]
},
{
"id": 3,
"title": "你敢买,我就敢不发货",
"logo": "http://hao.xd.cuci.cc/upload/c335e0eb91c4a590/429a1fa5db34380a.png",
"cate_id": 2,
"image": [
"http://hao.xd.cuci.cc/upload/282c197000cdc36d/d330b0798933405a.jpg"
],
"number_sales": 0,
"number_stock": 0,
"vip_mod": 0,
"vip_month": 0,
"vip_discount": "0.00",
"content": "<p><img border=\"0\" src=\"http://hao.xd.cuci.cc/upload/282c197000cdc36d/d330b0798933405a.jpg\" style=\"max-width:100%\" title=\"image\" /></p>\r\n",
"specs": [
{
"name": "默认分组",
"list": [
{
"name": "默认规格",
"check": true
},
{
"name": "规格属性",
"check": true
}
]
}
],
"lists": [
[
{
"name": "默认规格",
"check": true,
"group": "默认分组",
"span": 1,
"show": true,
"key": "默认分组::默认规格",
"virtual": 10,
"market": "456.00",
"selling": "123.00",
"member": "0.00",
"express": "0.00",
"service": "0.00",
"status": true
}
],
[
{
"name": "规格属性",
"check": true,
"group": "默认分组",
"span": 1,
"show": true,
"key": "默认分组::规格属性",
"virtual": "0",
"market": "362.00",
"selling": "125.00",
"member": "0.00",
"express": "0.00",
"service": "0.00",
"status": true
}
]
],
"list": [
{
"id": 3,
"goods_id": 3,
"goods_spec": "默认分组::默认规格",
"price_market": "456.00",
"price_selling": "123.00",
"number_sales": 0,
"number_stock": 0,
"number_virtual": 10,
"status": 1,
"create_at": "2019-01-22 17:40:02"
},
{
"id": 4,
"goods_id": 3,
"goods_spec": "默认分组::规格属性",
"price_market": "362.00",
"price_selling": "125.00",
"number_sales": 0,
"number_stock": 0,
"number_virtual": 0,
"status": 1,
"create_at": "2019-01-22 17:40:02"
}
]
}
]
}
}
~~~
- 【解密】小程序数据解密
- 【首页】获取商城首页页面
- 【商品】获取商品分类列表
- 【商品】获取商城商品列表
- 【商品】获取商城礼包列表
- 【商品】获取商城商品信息
- 【资料】更新会员资料信息(会员)
- 【注册】发送手机短信验证(会员)
- 【注册】绑定会员手机号码(会员)
- 【注册】获取当前会员资料(会员)
- 【地址】增加会员收货地址(会员)
- 【地址】获取会员收货地址(会员)
- 【地址】删除会员收货地址(会员)
- 【地址】设置默认收货地址(会员)
- 【订单】商城会员规则下单(会员)
- 【订单】商城订单补全确认(会员)
- 【订单】获取会员订单列表(会员)
- 【支付】获取订单支付参数(会员)
- 【订单】获取会员订单统计(会员)
- 【订单】取消会员订单记录(会员)
- 【订单】确定会员订单收货(会员)
- 【订单】订单快递查询结果(会员)