文章详情
/api/article/detail
请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON
数据结构
code
integer
必需
msg
string
必需
data
object {12}
必需
id
integer
主键
cid
integer
分类
title
string
标题
image
string
图片
intro
string
简介
summary
string
摘要
content
string
内容
visit
integer
访问
sort
integer
排序
isShow
integer
必需
是否显示: 0=否, 1=是
createTime
string
创建时间
updateTime
string
更新时间
示例
{
"code": 200,
"msg": "成功",
"data": {
"id": 10,
"cid": 1,
"title": "小明铜须烦烦烦",
"image": "http://127.0.0.1/uploads/11.png",
"intro": "jj",
"content": "",
"visit": 10,
"sort": 50,
"isShow": 0,
"createTime": "1970-01-01 08:00:00",
"updateTime": "1970-01-01 08:00:00"
}
}
修改时间 2 年前