点赞或取消点赞
PUT
/api/youthmark/praise
请求头
参数名
类型
描述
必填
Content-Type
stirng
application/json
必填
token
string
必填
请求参数
参数名
类型
描述
必填
id
int
id
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:点赞成功
必填
time
string
示例:1599033452
必填
data
object
示例:null
必填