💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 搜索文档(Search) ## 搜索文档接口\[index\]【免登录】 搜索文档接口 ### 请求URL http://www.yoursite.com/addons/cms/api.search/index ### 请求方法 GET ### 请求参数 | Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. | | --- | --- | --- | --- | --- | | q | string | 否 | 关键词q/search二选一 | cms | | search | string | 否 | 关键词q/search二选一 | cms | | orderby | string | 否 | 排序字段 | default | | orderway | string | 否 | 排序方式 | asc | | page | number | 否 | 分页页码 | 1 | ### 返回值 ~~~json { "code": 1, "msg": "", "time": "1616751495", "data": { "filterList": [], "orderList": [ { "name": "default", "field": "weigh", "title": "默认", "active": true, "url": "?q=Leap&orderby=default&orderway=desc" }, { "name": "views", "field": "views", "title": "浏览次数", "active": false, "url": "?q=Leap&orderby=views&orderway=desc" }, { "name": "id", "field": "id", "title": "发布日期", "active": false, "url": "?q=Leap&orderby=id&orderway=desc" } ], "pageList": { "total": 1, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": 34, "user_id": 0, "channel_id": 6, "channel_ids": "", "model_id": 1, "special_ids": "", "admin_id": 2, "title": "Leap Motion AR头显看起来很疯狂但可能是奇迹", "flag": "top", "style": "", "image": "https://cdn.fastadmin.net/uploads/2018/20180416/5ad44129495250.jpg", "images": "https://cdn.fastadmin.net/uploads/2018/20180416/5ad44129495250.jpg,https://cdn.fastadmin.net/uploads/2018/20180416/5ad44129bb3621.png", "seotitle": "", "keywords": "", "description": "本周我们正在研究Leap Motion为增强现实带来的新东西。我们已经看到他们之前创造了一些令人难以置信的技术,尤其是当涉及到运动跟踪和控制时。现在看起来他们认为他们是以面向优先的方式进入AR增强现实世界。", "tags": "AR,互联网", "weigh": 9999, "views": 7162, "comments": 9, "likes": 71, "dislikes": 0, "diyname": "", "isguest": 1, "iscomment": 1, "createtime": 1600510278, "updatetime": 1615881894, "publishtime": 1523894400, "deletetime": null, "memo": "", "status": "normal", "url": "/cms/hardware/34.html", "fullurl": "http://www.fa.com/cms/hardware/34.html", "likeratio": 100, "taglist": [ { "name": "AR", "url": "/cms/t/AR.html" }, { "name": "互联网", "url": "/cms/t/互联网.html" } ], "create_date": "6月前", "images_list": [ "https://cdn.fastadmin.net/uploads/2018/20180416/5ad44129495250.jpg", "https://cdn.fastadmin.net/uploads/2018/20180416/5ad44129bb3621.png" ] } ] } } } ~~~