Message Pusher 对常见第三方推送平台的支持

例如 Server 酱,WxPusher 以及 pushplus

标签:消息推送发布于:编辑于:浏览量:10177

概述

通过 Message Pusher 的自定义消息通道功能可以实现对大量第三方推送平台的支持。

下面给出了常见平台的配置例子。

Server 酱

{
  "title": "$title",
  "short": "$description",
  "desp": "$content",
  "openid": "$to"
}

WxPusher

{
  "appToken":"替换成你的 token",
  "content":"$content",
  "summary":"$description",
  "contentType":3, 
  "uids":[
      "替换成你的 uid,或者使用 $to"
  ],
  "url":"$url"
}

pushplus

{
  "token": "替换成你的 token",
  "title": "$title",
  "content": "$content",
  "template": "markdown",
  "channel": "wechat"
}