文档
测试

新闻详情

POST
{{host}}/api/news/detail

请求参数

参数名
类型
描述
必填
id
int
示例:2
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1000
必填
msg
string
示例:success
必填
data
object
数据字典
必填
id
int
示例:2
必填
category_id
int
示例:1
必填
title
string
示例: 桑阳集团驴肉制品项目考察队抵达东阿,探索 驴肉产品合作发展新方向桑阳集团
必填
thumb
string
示例:http://m.codingthefuture.cn/uploads/20200904/60c5b662b8eb27c18e407defb98cf6b0.png
必填
content
string
示例:
必填
abstract
string
示例:
必填
startTime
object
示例:null
必填
endTime
object
示例:null
必填
views
int
示例:29
必填
status
int
示例:1
必填
sort
int
示例:0
必填
createtime
string
示例:1970-01-01 08:00:00
必填
updatetime
string
示例:1970-01-01 08:00:00
必填
publish_time
string
示例:2020-09-06 00:00:00
必填
next
int
示例:1 下一篇id 0则是没有了
必填
next_title
string
示例: 桑阳集团驴肉制品项目考察队抵达东阿,探索 驴肉产品合作发展新方向桑阳集团
必填
pre
int
示例:3 上一篇id 0则是没有了
必填
pre_title
string
示例: 桑阳集团驴肉制品项目考察队抵达东阿,探索 驴肉产品合作发展新方向桑阳集团
必填