## 内容详情
~~~[api]
get:/Archives/info
int:id#内容id
<<<
success
{
"code": 0,
"msg": "获取成功",
"data": {
"info": {
"id": 34,
"channel_id": 9,
"admin_id": 0,
"title": "小程序A视频名称",
"image": "https://cas-cms-file.makercas.com/Archives/6d24b3535c02245b89264b1d7453271e.png",
"description": "sagfasg",
"recommend": 0,
"views": 3,
"likes": 0,
"diyname": "",
"create_time": "2021-08-02",
"update_time": "2021-07-29 09:07:30",
"delete_time": null,
"status": 1,
"addonnews": {
"id": 34,
"content": "<p>dshfj</p>",
"span": ""
},
"addonvideo": null,
"addonproduct": null,
"channel_info_text": {
"id": 9,
"name": "大赛快讯",
"pid": 8,
"diyname": "news.html",
"en_name": "NEWS",
"banner": [
"https://cas-cms-file.makercas.com/Archives/af00a49351a10aee18c22b9daf72e7ce.png"
],
"status": 1
},
"likes_text": false
},
"recommend": [
{
"id": 47,
"title": "媒体测试",
"status": 1
},
{
"id": 33,
"title": "测试",
"status": 1
},
{
"id": 21,
"title": "命运赋",
"status": 1
}
]
}
}
~~~
## 字段列表
| 字段 | 说明 |
| --- | --- |
| id | 内容ID |
| titile | 内容标题 |
| diyname | 自定义url |
| image | 内容缩略图 |
| description | 内容简介 |
| views | 浏览次数 |
| likes | 点赞数 |
| recommend | 1=推荐;0=不推荐 |
| addonnews| 新闻类的相关内容 |
| addonvideo | 视频类的相关内容 |
| addonproduct | 点赞数 |
| recommend | 推荐文章 |