店铺商品列表
GET {{base_url}}/shop/getShoperGoods
Query
参数名 | 类型 | 必需 | 描述 | 示例 |
---|---|---|---|---|
shop_type |
string | 1 | 店铺类型 | 2 |
cate_id |
string | 1 | 商品分类ID | 1 |
Header
参数名 | 类型 | 必需 | 描述 | 示例 |
---|---|---|---|---|
Authorization |
string | 1 | bearer {{token}} |
Body
参数名 | 类型 | 必需 | 描述 | 示例 |
---|---|---|---|---|
shop_type |
string | 1 | 1 |
返回示例
{
"status": 200,
"msg": "success",
"data": {
"current_page": 1,
"data": [
{
"goods_id": 6,
"uid": 14,
"library_id": 0,
"shop_id": 7,
"shop_type": 2,
"cate_id": "1,3",
"bar_code": "A000000002",
"goods_name": "奥尔良鸡翅",
"goods_logo": "http://chicken.com/uploads/goods/2020-04-15/5e96e87b772cc.png",
"goods_tags": null,
"price": "10.00",
"price_old": "10.00",
"packing": "0.00",
"num": 100,
"monthly_sale": 0,
"sales": null,
"goods_describe": "",
"status": 1,
"create_at": "2020-04-15 00:00:00",
"update_at": 1586948219,
"shop": {
"shop_id": 7,
"shop_name": "首尔炸鸡"
}
}
],
"first_page_url": "http://chicken.com/module/chickenshop/shop/getShoperGoods?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://chicken.com/module/chickenshop/shop/getShoperGoods?page=1",
"next_page_url": null,
"path": "http://chicken.com/module/chickenshop/shop/getShoperGoods",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
文档更新时间: 2020-06-13 14:10 作者:nianwang