- 授权
- 验证码
- GitHub OAuth2
- LinuxDo OAuth2
- 系统API
- 系统Casbin权限
- 系统部门
- 系统字典数据
- 系统字典类型
- 系统角色
- 系统用户
- 登录日志
- 操作日志
- redis监控
- 服务器监控
- 代码生成
- 任务
- 系统数据权限规则
- 系统通知公告
- 系统参数配置
- 系统菜单
- 系统令牌
- 系统上传
- 系统插件
更新通知公告
PUT
/api/v1/sys/notices/{pk}
系统通知公告
最后修改时间:2025-04-16 13:07:52
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
pk
integer
Pk
Body 参数application/json
更新通知公告参数
title
string
Title
type
integer
Type
author
string
Author
source
string
Source
status
enum<integer>
可选
枚举值:
01
content
string
Content
示例
{
"title": "string",
"type": 0,
"author": "string",
"source": "string",
"status": 0,
"content": "string"
}
返回响应
🟢200成功
application/json
Body
不包含返回数据 schema 的通用型统一返回模型
code
integer
Code
默认值:
200
msg
string
Msg
默认值:
请求成功
data
Data
Any of
示例
{
"code": 200,
"msg": "请求成功",
"data": null
}
🟠422参数错误