文档
测试

查看详情公告

POST
http://SERVER:PORT/oaNotice/selectByNoticeId

接口描述

根据公告id查询详情

请求参数

参数名
类型
描述
必填
id
int
公告id 示例 1
必填

响应参数

参数名
类型
描述
必填
id
int
公告id
必填
noticeTitle
string
公告标题
必填
noticeContent
string
公告内容
必填
noticePicture
string
公告封面
必填
createMemberName
string
发布人名称
必填
noticStatus
int
状态:1未删除 0已删除
必填
noticeFlag
int
强制提醒:1是 0否 (默认1)
必填
noticeAccessory
string
公告附件
可选
updateTime
string
修改时间
可选
createTime
string
创建时间
必填
unReadCount
int
未读数量
可选
createMemberIcon
string
发布人头像
可选
noticeState
int
公告权限:1只读 2:编辑删除
必填

说明 / 示例

``` { "flag": true, "code": "1000", "data": { "id": 48, "noticeTitle": "星期六放假", "noticeContent": "放一天假", "noticePicture": "封面", "createMemberName": "朱腾飞", "noticStatus": 0, "noticeFlag": 1, "noticeAccessory": "[{\"fileName\":\"160766938812532.jpg\",\"filePath\":\"http://118.178.132.220/oa/file/test/15_20201211144946_001184.jpg\",\"fileSize\":\"172398\",\"size\":\"172398\"},{\"fileName\":\"1607669388222699.jpg\",\"filePath\":\"http://118.178.132.220/oa/file/test/15_20201211144947_557805.jpg\",\"fileSize\":\"159135\",\"size\":\"159135\"},{\"fileName\":\"1607669388281669.jpg\",\"filePath\":\"http://118.178.132.220/oa/file/test/15_20201211144947_827490.jpg\",\"fileSize\":\"168595\",\"size\":\"168595\"}]", "updateTime": "2020-12-12 10:43:54.0", "createTime": "2020-12-11 14:49:51.0", "unReadCount": 3, "createMemberIcon": "http://118.178.132.220/oa/file/test/2_20200828113918_705208.jfif", "noticeState": 1 }, "message": "成功" } ```