3、更新文章
POST
http://localhost:88/api/post/post/updatepost
请求头
参数名
类型
描述
必填
Authorization
string
jwt身份认证信息
必填
请求参数
参数名
类型
描述
必填
id
string
文章id
必填
title
string
标题
必填
content
string
内容
必填
userId
string
作者id
必填
comments
int
评论数
必填
collects
int
收藏数
必填
view
int
浏览量
必填
sectionId
int
专栏id
必填
top
int
是否置顶
必填
essence
int
是否加精
必填
createTime
string
发布时间
必填
modifyTime
string
修改时间
必填
请求参数示例
响应参数
参数名
类型
描述
必填
msg
string
提示信息
必填
code
int
0-成功,其他业务码-失败
必填