查找文章
GET
/article/find/{id}修改时间: 2 年前
责任人:
请求参数
Path 参数
id
string
必需
示例值:
1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
data
object
必需
id
integer
必需
title
string
必需
desc
null
必需
is_comment
integer
必需
priority
null
必需
status
integer
必需
head_img
null
必需
content
string
必需
click
integer
必需
created_at
string
必需
updated_at
string
必需
deleted_at
null
必需
types
array [object {5}]
必需
users
array [object {8}]
必需
tags
array [object {6}]
必需
is_star
boolean
必需
star_info
object
必需
comment_total
integer
必需
message
string
必需
示例
{
"code": 0,
"data": {
"id": 0,
"title": "string",
"desc": null,
"is_comment": 0,
"priority": null,
"status": 0,
"head_img": null,
"content": "string",
"click": 0,
"created_at": "string",
"updated_at": "string",
"deleted_at": null,
"types": [
{
"id": 0,
"name": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null
}
],
"users": [
{
"id": 0,
"username": "string",
"status": 0,
"avatar": "string",
"desc": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null
}
],
"tags": [
{
"id": 0,
"name": "string",
"color": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": null
}
],
"is_star": true,
"star_info": {
"count": 0,
"rows": [
"string"
]
},
"comment_total": 0
},
"message": "string"
}
修改于 2 年前