curl--location--request GET 'http://localhost:3000/api/web/article/detail/' \
--header'Authorization;'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
必需
message
string
响应信息
必需
data
object(article)
必需
title
string
文章标题
必需
content
string
文章内容
必需
categoryID
string
文章分类ID
必需
tags
array[object (tags) {5}]
文章标签ID
必需
desc
string
文章描述
必需
cover
string
文章封面
必需
authorID
string
作者ID
必需
isPublish
boolean
是否发布
必需
isTop
boolean
是否置顶
必需
isOriginal
boolean
是否原创
必需
viewNum
integer
阅读量
必需
createTime
string
创建时间
必需
updateTime
string
更新时间
必需
isDelete
boolean
是否删除
必需
likeNum
integer
点赞数
必需
aboutInfo
object
必需
total
integer
必需
示例
{"code":200,"message":"获取成功","data":{"title":"身最图上","content":"fugiat sit consectetur irure dolore","categoryID":"49","tags":[{"name":"间各便线习","icon":"http://dummyimage.com/100x100","desc":"voluptate esse Excepteur sint","createTime":{},"updateTime":{}}],"desc":"do in nisi","cover":"incididunt dolor","authorID":"42","isPublish":true,"isTop":false,"isOriginal":false,"viewNum":92,"createTime":"1994-06-22 20:40:29","updateTime":"1997-02-21 19:01:38","isDelete":false,"likeNum":76,"aboutInfo":{}},"total":10}