企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## Index.php 此控制器负责CMS小程序端首页接口请求。 ## index - 首页列表 此方法主要负责CMS小程序首页列表的数据提供。 ### 请求方法 POST ### 请求参数 无 ### 返回值 ~~~json { "code": 1, "msg": "", "time": "1574045752", "data": { //焦点图列表 "bannerList": [ { "image": "https://cdn.fastadmin.net/uploads/focus/24.jpg", "url": "/", "title": "首页焦点图标题3" }, { "image": "https://cdn.fastadmin.net/uploads/focus/6.jpg", "url": "/", "title": "首页焦点图标题2" }, { "image": "https://cdn.fastadmin.net/uploads/focus/25.jpg", "url": "/", "title": "首页焦点图标题1" } ], //首页Tab列表 "tabList": [ { "id": 0, "title": "全部" }, { "id": 14, "title": "网络工具" }, { "id": 13, "title": "媒体工具" }, { "id": 12, "title": "应用软件" } ], //文档列表 "archivesList": [ { "id": 16, "user_id": 1, "channel_id": 4, "model_id": 1, "special_id": 0, "title": "文档标题", "style": "", "flag": "", "image": "https://cdn.fastadmin.net/uploads/2018/20180416/5ad4411db71750.png", "keywords": "", "description": "描述内容", "tags": "互联网,安全", "views": 6792, "comments": 0, "likes": 70, "dislikes": 0, "diyname": "", "createtime": 1523721095, "updatetime": 1523878887, "publishtime": 1523635200, "hasimage": true, //文档栏目信息 "channel": { "id": 4, "name": "安全", "image": "http://www.yoursite.com/assets/addons/cms/img/noimage.jpg", "diyname": "security", "items": 5 }, "likeratio": 100, "create_date": "1年前" } ] } } ~~~