文档
测试

新闻详情

POST
http://baopin.daoben.ltd/api/consult/newArticleDetail

请求参数

参数名
类型
描述
必填
id
int
示例:2------新闻ID
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1673260527
必填
data
object
数据字典
必填
detail
object
数据字典
必填
id
int
示例:2-------新闻ID
必填
category_id
int
示例:14-------新闻分类
必填
title
string
示例:测试新闻管理一-------新闻标题
必填
delivertime
int
示例:2023-01-09-------发布时间
必填
thumb
string
示例:/assets/img/qrcode.png-------缩略图
必填
content
string
示例:测试新闻管理一-------新闻详情
必填
status
string
示例:normal-------
必填
weigh
int
示例:2-------
必填
createtime
string
示例:2023-01-09-------
必填
updatetime
int
示例:1672221028-------
必填
deletetime
object
示例:null
必填
isPraise
boolean
示例:false-------是否点赞,true=已点赞,false=未点赞
必填