**简要描述:** - 首页分类接口 **请求URL:** - ` /api/index/indexCategory ` **请求方式:** - GET **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |platform_category_id|是|int|平台一级分类id **返回示例** ``` { "code": 1, "show": 0, "msg": "获取成功", "data": { "level_two": [ { "id": 16, "name": "男装", "image": "http://www.likeshopb2b2c.localhost/uploads/images/20210428155611f8ea07926.jpg" }, { "id": 7, "name": "女装", "image": "" } ], "categor_hots": [ { "id": 22, "name": "商品1-0", "image": "http://www.likeshopb2b2c.localhost/uploads/images/202104281813584bb6b7582.jpg", "min_price": "3.00", "market_price": "3.00", "sales_actual": 80 }, { "id": 32, "name": "测试商品999", "image": "http://www.likeshopb2b2c.localhost/uploads/images/202104281813584bb6b7582.jpg", "min_price": "10.00", "market_price": "50.00", "sales_actual": 50 } ], "category_recommend": [ { "id": 32, "name": "测试商品999", "image": "http://www.likeshopb2b2c.localhost/uploads/images/202104281813584bb6b7582.jpg", "min_price": "10.00", "market_price": "50.00", "sales_actual": 50 } ] } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | | level_two | array| 平台二级分类 | | category_hots | array| 品类热销榜单 | | category_recommend | array| 品类推荐商品 |