企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述** * 商城首页 **请求URL:** * `index/Index/index` **参数** * 无 **返回示例** ``` { "code": 1, "msg": "请求成功", "data": { "banner_list": [ { "id": 10, "title": "图6", "img": "/uploads/20200318/9c633e77f1d660647e6a1fd55b076038.jpg", "url": "" }, { "id": 12, "title": "案例1", "img": "/uploads/20200319/7dcef785171cee230605d66f80b60680.jpg", "url": "" } ], "index_menu_list": [ { "id": 1, "title": "商品分类", "img": "/uploads/20200324/8468300c396e8e8f145c78dcc527b9cc.png", "url": "" }, { "id": 2, "title": "优惠券", "img": "/uploads/20200324/f7b4a5c9528852885b4faa4bd9732b37.png", "url": "" } ], "active_menu_list": [ { "id": 20, "title": "拼团", "img": "/uploads/20200318/5babdac5c158b5ed2a9d7d62aa977c08.jpg", "url": "" }, { "id": 21, "title": "秒杀", "img": "/uploads/20200318/5813871bc2a4ec93a5b4b12df9b6aa8c.jpg", "url": "" }, { "id": 22, "title": "砍价", "img": "/uploads/20200318/c5447c97ccc50dcf4be25bf2450a573e.jpg", "url": "" } ], "article_list": [ { "id": 8, "title": "活动" }, { "id": 7, "title": "关于新版本发布通知" } ], "hot_list": [ { "id": 2, "title": "【华为老用户场】HUAWEI P40 Pro 5G 全网通 ", "img": "/uploads/20200401/9625a96e9a5a82625ff048628bd5cb3a.png", "price": "3600.00", "virtual_sales": 25 } ], "promote_list": [ { "id": 2, "title": "【华为老用户场】HUAWEI P40 Pro 5G 全网通 ", "img": "/uploads/20200401/9625a96e9a5a82625ff048628bd5cb3a.png", "price": "3600.00", "virtual_sales": 25 } ], "boutique_list": [ { "id": 2, "title": "【华为老用户场】HUAWEI P40 Pro 5G 全网通 ", "img": "/uploads/20200401/9625a96e9a5a82625ff048628bd5cb3a.png", "price": "3600.00", "virtual_sales": 25 } ], "new_list": [ { "id": 2, "title": "【华为老用户场】HUAWEI P40 Pro 5G 全网通 ", "img": "/uploads/20200401/9625a96e9a5a82625ff048628bd5cb3a.png", "price": "3600.00", "virtual_sales": 25 } ] } } ``` **data返回值说明** | 参数 | 类型 | 描述 | | --- | --- | --- | | \- banner\_list | object | banner信息 | | id | number | banner id | | title | string | banner 名称 | | img | string | banner 图片 | | url | string | banner 的跳转链接,空则不跳转 | | \- index\_menu\_list | object | 首页菜单信息 | | id | number | 菜单id | | title | string | 菜单名称 | | img | string | 菜单图片 | | url | string | 菜单链接 | | \- active\_menu\_list | object | 活动菜单信息 | | id | number | 菜单id | | title | string | 菜单名称 | | img | string | 菜单图片 | | url | string | 菜单链接 | | \- article\_list | object | 文章信息 | | id | number | 文章id | | title | string | 文章标题 | | \- hot\_list(promote\_list,boutique\_list,new\_list) | object | 热卖商品(促销,精品,新品) | | id | number | 商品id | | title | string | 商品名称 | | img | string | 视频图片 | | price | string | 商品价格 | | virtual\_sales | number | 虚拟销量 |