微信主动发送消息到客户端

微信开发者通过接口给粉丝发送消息:

URL链接:

https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN

参数:

{

  'touser' : openid.

  'msgtype' : text

  'text' : {

    'content' => message

  }

}

通过这个可以封装好消息去通知用户。

posted @ 2016-04-26 17:21  sundong_wyz  阅读(547)  评论(0编辑  收藏  举报