🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 标签文档(Tag) ## 根据标签搜索文档\[index\]【免登录】 根据标签搜索文档 ### 请求URL http://www.yoursite.com/addons/cms/api.tag/index ### 请求方法 GET ### 请求参数 | Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. | | --- | --- | --- | --- | --- | | name | string | 是 | 标签的名字 | AR | | id | number | 是 | 标签的id | 1 | | page | number | 否 | 分页页码 | 1 | | orderby | string | 否 | 排序字段 | default | | orderway | string | 否 | 排序方式 | asc | > 标签名称和id二选一即可 ### 返回值 ~~~json { "code": 1, "msg": "", "time": "1616751849", "data": { "filterList": [], "orderList": [ { "name": "default", "field": "weigh", "title": "默认", "active": true, "url": "?orderby=default&orderway=desc" }, { "name": "views", "field": "views", "title": "浏览次数", "active": false, "url": "?orderby=views&orderway=desc" }, { "name": "id", "field": "id", "title": "发布日期", "active": false, "url": "?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": 7165, "comments": 9, "likes": 71, "dislikes": 0, "diyname": "", "isguest": 1, "iscomment": 1, "createtime": 1600510278, "updatetime": 1615881894, "publishtime": 1523894400, "deletetime": null, "memo": "", "status": "normal", "channel": { "id": 6, "type": "list", "model_id": 1, "parent_id": 1, "name": "硬件", "image": "/assets/addons/cms/img/noimage.jpg", "flag": "recommend", "seotitle": "", "keywords": "", "description": "", "diyname": "hardware", "outlink": "", "items": 8, "weigh": 0, "channeltpl": "channel.html", "listtpl": "list_news.html", "showtpl": "show_news.html", "pagesize": 10, "vip": 2, "listtype": 0, "iscontribute": 1, "isnav": 1, "createtime": 1523717893, "updatetime": 1615881503, "status": "normal", "url": "/cms/hardware.html", "fullurl": "http://www.fa.com/cms/hardware.html" }, "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" ] } ] } } } ~~~