文档
测试

根据病区ID查询消息通知

GET
/app/ward/noticeInfo

接口描述

根据科室ID、病区ID查询消息通知

请求参数

参数名
类型
描述
必填
depart_code
str
科室id
必填
ward_code
str
病区id
必填
date_time
str
日期时间
必填

响应参数

参数名
类型
描述
必填
title
通知标题
必填
type
通知类型
必填
content
内容
必填
radio_time
设定的广播时间
必填
repeat
重复次数
必填
file
文件路径
必填
radio_code
广播编号
必填

说明 / 示例

{ "header": { "path": "/app/ward/noticeInfo?inhospital_code=PANIENT1614832462082&date_time=2021-03-08", "code": 200, "status": true, "msg": "" }, "data": [ { "id": 4, "radio_code": "NOTICE1614937621319", "title": "音乐211", "notice_type": "41", "content": null, "depart_code": "DEPART1614820875720", "ward_code": "WAREA1614822751319", "radio_time": "2021-03-08 00:00:00", "repeat": "4", "add_time": "1614937621319", "file": null }, { "id": 3, "radio_code": "NOTICE1614933877025", "title": "嗡嗡嗡", "notice_type": "11", "content": "", "depart_code": "DEPART1613466438116", "ward_code": "WAREA1613527863511", "radio_time": "2021-03-08 00:00:00", "repeat": "1", "add_time": "1614933877025", "file": "/static/upload/image/2021-03-05/other_1614934056849_newx.jpg" } ] }