**简要描述:** - 获取商品列表 **请求URL:** - ` /api/goods/getGoodsList ` **请求方式:** - GET **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |platform_cate_id |否 |integer |平台分类id | |keyword |否 |string |关键词 | |brand_id |否 |integer |品牌id | |shop_id |否 |integer |店铺id | |shop_cate_id |否 |integer |店铺商品分类id | |sort_by_price |否 |string |价格排序,可选值: desc 降序 asc 升序 | |sort_by_sales |否 |string |销量排序,可选值: desc 降序 asc 升序 | |sort_by_create |否 |string |新品排序,可选值: desc 降序 asc 升序 | **返回示例** ``` { "code": 1, "show": 0, "msg": "获取成功", "data": { "lists": [ { "id": 8, "image": "http://likeshopb2b2c.yixiangonline.com//uploads/images/20210623182241cd7c65317.png", "name": "苹果 20W USB-C 电源适配器", "min_price": "149.00", "market_price": "149.00", "sales_actual": 4, "first_cate_id": 1, "second_cate_id": 2, "third_cate_id": 3, "sort_weight": 3, "brand_id": 1, "shop_id": 2, "sales_virtual": 300, "sales_total": 304 }, { "id": 6, "image": "http://likeshopb2b2c.yixiangonline.com//uploads/images/20210623173843e29a87344.png", "name": "iphone xs max", "min_price": "3160.00", "market_price": "5000.00", "sales_actual": 3, "first_cate_id": 1, "second_cate_id": 2, "third_cate_id": 3, "sort_weight": 0, "brand_id": 1, "shop_id": 2, "sales_virtual": 0, "sales_total": 3 } ], "page_no": 1, "page_size": 15, "count": 2, "more": 0 } } ``` **返回参数说明** |参数名|类型|说明| |:---- |:---|:----- |----- | |sales_actual |int|实际销量 | |sales_virtual |int|虚拟销量 | |sales_total |int| 实际销量 + 虚拟销量 | **备注**