commons.system.send
发送内部通知
- 请求路由:
commons.system.send- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "commons.system.send",
"args" : {
"recipients" : "接收人列表",
"notificationRequest" : "通知信息"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
recipients | String | 否 | 接收人列表 |
notificationRequest | Object | 否 | 通知信息 |
notificationRequest.type | String | 否 | 通知类型 normal - 普通通知 headline - 置顶通知 |
notificationRequest.businessKey | String | 否 | 关联的业务标识 |
notificationRequest.subject | String | 否 | 通知主题 |
notificationRequest.content | String | 否 | 通知内容 |
notificationRequest.sender | String | 否 | 发送者 |
notificationRequest.sendTypes | String[] | 否 | 通知发送类别。 app - 内部通知 email - 邮件通知 sms - 短信通知 wx - 微信通知 可同时指定多个发送类别 |
notificationRequest.params | Object | 否 | 自定义参数 |
返回
是否成功
{ }