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

时间:2016-04-26 19:20:31   收藏:0   阅读:354

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

URL链接:

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

参数:

{

  ‘touser‘ : openid.

  ‘msgtype‘ : text

  ‘text‘ : {

    ‘content‘ => message

  }

}

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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!