文档
测试

修改公告

POST
/web/notice/updateNotice

请求头

参数名
类型
描述
必填
token
String
必填

请求参数

参数名
类型
描述
必填
id
int
公告id
必填
title
String
公告标题
必填
introduce
String
简介
必填
content
String
公告内容 富文本格式
必填
leastViews
int
阅读量
可选
leastLike
int
点赞量
可选

响应参数

参数名
类型
描述
必填
code
int
状态码 0 成功其他失败
必填
msg
msg
响应信息
必填

说明 / 示例

## `请求示例` ```java { "id": 1, "title":"李子染", "introduce": "asdasdas", "content": "网红鼻祖", "leastViews": 1, "leastLike": 999 } ``` ## `返回示例` ```java { "code": 0, "msg": "修改成功" } ```