更新公告
接口描述: 需要登录
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| id | 整型 | 必须 | 公告ID | ||
| title | 字符串 | 必须 | 公告标题 | ||
| content | 字符串 | 必须 | 公告内容 | ||
| type | 整型 | 可选 | 1 | 类型 1=普通 2=重要 | |
| status | 整型 | 可选 | 1 | 状态 0=禁用 1=启用 | |
| target | 字符串 | 可选 | all | 目标 all=全部 tenant=指定租户 | |
| target_tenant_codes | 字符串 | 可选 | 指定租户编码(逗号分隔) | ||
| sort_order | 整型 | 可选 | 0 | 排序 | |
| published_at | 字符串 | 可选 | 发布时间 |
| 参数名字 | 类型 | 说明 |
|---|
| 错误状态码 | 错误描述信息 |
|---|---|
| 400 | 表示客户端参数错误 |
| 404 | 表示接口服务不存在 |
| 500 | 表示服务端内部错误 |
| 参数 | 是否必须 | 值 |
|---|---|---|
| service | 必须 | |
| id | 必须 | |
| title | 必须 | |
| content | 必须 | |
| type | 可选 | |
| status | 可选 | |
| target | 可选 | |
| target_tenant_codes | 可选 | |
| sort_order | 可选 | |
| published_at | 可选 |
# 暂无示例,可添加示例文件:./src/view/docs/demos/App.Admin.NoticeUpdate.json
接口,从简单开始!
© 2015-2026 Powered By PhalApi开源接口框架 2.23.0
专业版