新闻详情
GET
http://localhost:5000/api/news/detail/1
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:获取新闻详情!
必填
new_id
int
示例:1
必填
new_title
string
示例:《原神》莫娜·星天水镜Ver.1/7手办 预定开启
必填
publish_time
string
示例:2021-07-13T01:15:54.000Z
必填
fm
string
示例:/images/news/news_1.jpg
必填
category_id
int
示例:2
必填
category_name
string
示例:新闻
必填
content
string
示例:<p style="text-align:center"><img alt="" height="319" src="https://webstatic.mihoyo.com/upload/static-resource/2021/07/10/083fbb137543521b9c54513ba7c3c533_1810410584408198333.jpg" width="750"></p>
<p style="text-align: center;"><span style="line-height:2;">「命中当如此,我早已预知到了。」</span></p>
<p style="text-align: center;"> </p>
<p><span style="line-height:2;">亲爱的旅行者,莫娜·星天水镜Ver.1...
必填