pns.push
向用户在指定App注册的所有设备发送推动通知
- 请求路由:
pns.push- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "pns.push",
"args" : {
"bundleId" : "com.aspiretop.com.cbv.driver",
"username" : "18900010001@mzd",
"message" : "Hello, world!"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
bundleId | String | 是 | 移动应用的bundleId |
username | String | 是 | 用户名 |
message | String | 是 | 通知内容 |
返回
推送结果
{
"sendno" : "0",
"msg_id" : "18101480850292140"
}