使用wechat4j-master快速开发微信消息

时间:2015-05-07 16:51:20   收藏:0   阅读:359

1:引入jar文件

技术分享

    目前wechat4j的最新版本为1.3,下载地址:https://github.com/sword-org/wechat4j/releases



2:在工程的src下加入配置文件wechat4j.properties

#wechat appid
wechat.appid=wxee1894c6b5a44b8e
#wechat app secret
wechat.appsecret=7a938414e38c9f007608c40bbb6478fc


3:单元测试给单个粉丝发送文本消息


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