ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 专题接口(Special) ## 专题列表接口\[special\]【免登录】 主题列表接口 ### 请求URL http://www.yoursite.com/addons/cms/api.special/special ### 请求方法 GET ### 请求参数 | Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. | | --- | --- | --- | --- | --- | | page | number | 否 | 分页页码 | 1 | ### 返回值 ~~~css { "code": 1, "msg": "获取成功", "time": "1627634590", "data": { "total": 4, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": 1, "diyname": "zheshiyigeceshizhuantibiaotizheshiyigeceshizhuantibiaotizheshiyigeceshizhuantibiaoti", "image": "https://picsum.photos/id/450/800/600", "intro": "这是测试专题的介绍内容,你可以在后台进行修改", "keywords": "", "label": "热门专题 地方 让人", "title": "这是一个测试专题标题这是一个测试专题标题这是一个测试专题标题", "views": 189, "createtime": 1553606219, "url": "http://www.fa.com/cms/special/zheshiyigeceshizhuantibiaotizheshiyigeceshizhuantibiaotizheshiyigeceshizhuantibiaoti.html", "fullurl": "http://www.fa.com/cms/special/zheshiyigeceshizhuantibiaotizheshiyigeceshizhuantibiaotizheshiyigeceshizhuantibiaoti.html", "create_date": "2年前" }, { "id": 2, "diyname": "diergezhuantiguanli", "image": "http://www.fa.com/uploads/2021/20210618/4cd8f2317aae2ff0485a1b5af0dfaedb.jpg", "intro": "专题介绍:专题介绍:专题介绍:", "keywords": "关键字", "label": "预约", "title": "第二个专题管理", "views": 25, "createtime": 1625555138, "url": "http://www.fa.com/cms/special/diergezhuantiguanli.html", "fullurl": "http://www.fa.com/cms/special/diergezhuantiguanli.html", "create_date": "3周前" }, ] } } ~~~ ## 专题详情\[index\]【免登录】 专题详情 ### 请求URL http://www.yoursite.com/addons/cms/api.special/index ### 请求方法 POST ### 请求参数 | Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. | | --- | --- | --- | --- | --- | | id | number | 是 | 专题id | 1 | | diyname | string | 是 | 专题自定义名称 | diname | > 温馨提示:专题id和专题自定义名称二选一即可。 ### 返回值 ~~~json { "code": 1, "msg": "获取成功", "time": "1627634791", "data": { "special": { "id": 2, "admin_id": 1, "title": "第二个专题管理", "tag_ids": "", "flag": "hot,new,recommend,top", "label": "预约", "image": "http://www.fa.com/uploads/2021/20210618/4cd8f2317aae2ff0485a1b5af0dfaedb.jpg", "banner": "http://www.fa.com/uploads/2021/20210608/9a2351ff5d6cc365937267a55ef40f2a.png", "diyname": "diergezhuantiguanli", "seotitle": "SEO标题:", "keywords": "关键字", "description": "描述:", "intro": "专题介绍:专题介绍:专题介绍:", "views": 26, "comments": 0, "iscomment": 10, "createtime": 1625555138, "updatetime": 1625555138, "deletetime": null, "template": "special.html", "status": "normal", "url": "http://www.fa.com/cms/special/diergezhuantiguanli.html", "fullurl": "http://www.fa.com/cms/special/diergezhuantiguanli.html", "create_date": "3周前" }, "archivesList": { "total": 8, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": 84, "user_id": 1, "channel_id": 14, "channel_ids": "", "model_id": 3, "special_ids": "2", "admin_id": 0, "title": "4K Video Downloader 4.5.0 下载高品质的YouTube视频", "flag": "", "style": "", "image": "https://picsum.photos/id/368/800/600", "images": "", "seotitle": "", "keywords": "", "description": "4K Video Downloader 是“一个视频下载工具,如此简单,就是一个视频下载工具该有的样子”。复制 YouTube 视频链接并点击界面左上角的 “Paste URL”,就能自动识别 4K 甚至是原始分辨率片源。接下来,选择分辨率、格式后就开始下载了。", "tags": "YouTube视频", "price": "0.00", "outlink": "", "views": 2335, "comments": 0, "likes": 155, "dislikes": 0, "diyname": "", "isguest": 1, "iscomment": 1, "createtime": 1553699199, "updatetime": 1625555138, "publishtime": 1553616000, "images_list": [], "channel": { "id": 14, "parent_id": 11, "name": "网络工具", "image": "/assets/addons/cms/img/noimage.jpg", "diyname": "network", "items": 20, "url": "http://www.fa.com/cms/network.html", "fullurl": "http://www.fa.com/cms/network.html" }, "user": { "id": 1, "nickname": "admin", "avatar": "/uploads/2021/20210727/1fb0d323157fc6e7f741863301826c41.jpeg", "url": "/u/1" }, "url": "http://www.fa.com/cms/network/84.html", "fullurl": "http://www.fa.com/cms/network/84.html", "likeratio": 100, "taglist": [ { "name": "YouTube视频", "url": "http://www.fa.com/cms/t/YouTube视频.html" } ], "create_date": "2年前" } ] } } } ~~~