博客详情

基本信息

  • 接口状态:已完成
  • 接口URL:POST /api/blog/blog/single
  • Content-Type:application/json
  • 认证方式:无需认证

请求参数

{
	"id": 31,
	"catalog_id": 1051
}
参数名 参数值 是否必填 参数类型  描述说明
catalog_id 1051 Number 获取当前分类上下页详情
id 31 Number 编号ID
token -- Number 根据用户token判断用户是否有访问权限

响应示例

{
	"status": "success",
	"message": "获取成功",
	"data": {
		"id": 39,
		"group_id": [],
		"catalog_id": [
			1015
		],
		"user_id": 1,
		"relation": "",
		"title": "在使用过程中遇到任何问题,都可以在此处记录,我会每天看帖子为大家解答~",
		"c_title": "",
		"description": "感谢每一位小伙伴对OneKeyAdmin的支持~",
		"author": "MUKE",
		"content": "<p>感谢每一位小伙伴对OneKeyAdmin的支持~</p>",
		"cover": "",
		"images": [],
		"seo_url": "",
		"seo_title": "在使用过程中遇到任何问题,都可以在此处记录,我会每天看帖子为大家解答~",
		"seo_keywords": "在使用过程中遇到任何问题,都可以在此处记录,我会每天看帖子为大家解答~",
		"seo_description": "感谢每一位小伙伴对OneKeyAdmin的支持~",
		"field": [],
		"istop": 1,
		"isrecommend": 0,
		"ishot": 0,
		"sort": 0,
		"clicks": 1144,
		"create_time": "2022-05-23 14:53:37",
		"status": 1,
		"prev": null,
		"next": null,
		"user": {
			"id": 1,
			"group_id": 6,
			"nickname": "MUKE",
			"sex": 1,
			"email": "513****96@qq.com",
			"mobile": "157****6315",
			"password": "",
			"cover": "/upload/user/20221009/915707443c4f666029f4f3bdcca13531.png",
			"describe": "Believe that you can do better",
			"birthday": "2022-04-11",
			"now_integral": 60,
			"history_integral": 60,
			"balance": "0.00",
			"pay_paasword": "",
			"login_ip": "",
			"login_count": 98,
			"login_time": "2022-10-10 13:40:56",
			"update_time": "2022-04-15 11:10:05",
			"create_time": "2022-04-15 11:10:05",
			"status": 1,
			"reason": "6",
			"hide": 1,
			"group_title": "课代表",
			"url": "https://onekeyadmin.com/user/info.html?id=1"
		},
		"content_images": [],
		"comment_count": 5,
		"collect_count": 1,
		"friend_time": "05月23日"
	}
}
参数名 参数值 参数类型  描述说明
status
success String 状态
message
获取成功
String
描述
data {} Object 返回值

 

文档最后更新时间:2023-03-16 10:58:29