Skip to content

1.1.1稳定版

Compare
Choose a tag to compare
@chengn chengn released this 13 Jan 04:50
· 77 commits to master since this release

1.1.0的基础之上修改了部分bug。

更新

  • 调整了发送客户消息,模板消息等使用access_token的构造方法,去掉 access_token,由wechat4j来处理,外部程序不用关心access_token。
  • 调整了数据库保存access_token的中控服务器bug
  • 工具类提出来,引入sword-lang工具https://github.com/sword-org/sword-lang/releases
  • 调整了1.1.0不支持SAE的问题。

支持SAE方法

因为SAE不允许客户使用自己的httpClient而使用的是sae上面的httpclient,sae上的httpclient目前只支持4.1,这就导致了采用最新版httpClient 4.3.6的wechat4j项目无法运行在sae上。
要使你的项目支持sae,那么就需要删除项目中的如下jar包,httpClient 4.3的相关jar包,sword-lang-1.2的jar包。然后引入httpClient4.1和sword-lang-1.1的jar包。httpClient4.1的jar包最好去sae的下载链接中下载。http://sae.sina.com.cn/doc/download.html#java-download