跳到主要内容

commons.system.send

发送内部通知

  • 请求路由: commons.system.send
  • 交互模型: Request Response
  • 访问限制: 无

请求​

RSocket.rr({
"route" : "commons.system.send",
"args" : {
"recipients" : "接收人列表",
"notificationRequest" : "通知信息"
}
});

请求参数​

名称类型必须说明
recipientsString否接收人列表
notificationRequestObject否通知信息
notificationRequest.typeString否通知类型
normal - 普通通知
headline - 置顶通知
notificationRequest.businessKeyString否关联的业务标识
notificationRequest.subjectString否通知主题
notificationRequest.contentString否通知内容
notificationRequest.senderString否发送者
notificationRequest.sendTypesString[]否通知发送类别。
app - 内部通知
email - 邮件通知
sms - 短信通知
wx - 微信通知
可同时指定多个发送类别
  • app - 应用内部通知
  • email - 邮件通知
  • sms - 短信通知
  • wx - 微信通知
  • push - 设备App推送通知
  • notificationRequest.paramsObject否自定义参数

    返回​

    是否成功

    { }