Commit Graph

304 Commits

Author SHA1 Message Date
BinaryWang
a4642896a3 更改版本,去掉一些无用的jar依赖 2016-10-09 19:00:07 +08:00
Binary Wang
03f029c68c 加入原作者信息 https://github.com/chanjarster/weixin-java-tools/pull/277 2016-10-07 14:12:27 +08:00
Binary Wang
392429a476 为WxErrorException添加一个构造方法,用于必要时打印出错误根源信息 2016-10-04 23:43:54 +08:00
BinaryWang
5c53319464 升级版本号为新版本2.2.0 2016-09-30 16:56:40 +08:00
BinaryWang
d9e8fe6d14 添加门店审核事件推送的相关消息变量和事件常量, for issue #17 2016-09-28 20:30:25 +08:00
BinaryWang
742c74d850 用户信息添加新增的tagid_list属性 2016-09-28 13:19:36 +08:00
BinaryWang
839ecadaa7 增加新的统一下单接口,并添加对接口格式的单元测试,并未对实际功能进行测试 2016-09-26 12:34:37 +08:00
BinaryWang
b555cc3790 增加annotation用于标识字段是否必填 2016-09-26 11:20:32 +08:00
Binary Wang
b13d3c9e6d 为新增加的发送红包的接口方法添加单元测试,仅测试接口格式,未测试实际功能 2016-09-25 00:28:58 +08:00
Binary Wang
06c73ca6ab 添加发送红包的重载方法,准备替代现有的代码 2016-09-24 23:45:32 +08:00
BinaryWang
26af3c52cf 修复下载多媒体文件时,如果token正好无效时无法自动刷新token的问题 2016-09-22 17:00:10 +08:00
BinaryWang
9f0c22141a 清理无用javadoc 2016-09-22 15:12:58 +08:00
YuJian
ad71e3c0f3 新增卡券的客服消息类型
1. WxCardBuilder用于构建卡券的客服消息;
2. WxMpCustomMessage新作cardId字段及卡券builder;
3. CustomMessageGsonAdapter处理cardId序列化名字;
4. WxConsts新作WXCARD卡券类型。
2016-09-18 21:30:39 +08:00
ben
15f17b2a27 增加设置setConnectionManagerShared参数避免PoolingHttpClientConnectionManager被CloseableHttpClient连带关闭 2016-09-14 16:39:37 +08:00
BinaryWang
1d8326e7a1 修复公众号proxy为空的bug,并发布临时版本2.1.2 2016-09-14 11:22:46 +08:00
BinaryWang
cc59d27871 Suppress Warnings 2016-09-08 15:32:16 +08:00
BinaryWang
168e168d65 jedis作为非必需依赖项改为provided,同时更改版本号用于发布临时版本 2016-09-07 20:25:11 +08:00
BinaryWang
b8f95cc4e6 Merge branch 'master' into develop 2016-09-07 20:05:07 +08:00
BinaryWang
f5273ba732 添加接口 用于构造第三方使用网站应用授权登录的url 2016-09-07 20:04:55 +08:00
Binary Wang
71709bbc36 重构修复部分代码 2016-09-01 21:58:28 +08:00
BinaryWang
c7efcae635 更改版本号 2016-09-01 10:28:05 +08:00
BinaryWang
59f92a3b41 重构修复部分代码 2016-09-01 10:26:16 +08:00
BinaryWang
6f297ae95a fix some warnings in common modules 2016-09-01 10:18:24 +08:00
BinaryWang
8bca9e753c 版本号更新为2.1.0 2016-08-31 19:24:03 +08:00
Binary Wang
f70a6a5e46 add gradle support 2016-08-29 23:44:53 +08:00
BinaryWang
f262c74149 添加输出日志代码,抑制warning 2016-08-29 19:28:20 +08:00
BinaryWang
e016372034 添加doctype,抑制warning 2016-08-29 19:27:56 +08:00
BinaryWang
7bd75c92a5 重构DefaultApacheHttpClientBuilder 2016-08-26 14:29:29 +08:00
BinaryWang
b5d9ce94ff 调整清理http连接的频率,避免过度日志输出 2016-08-26 14:08:06 +08:00
BinaryWang
184e6d785a WxMenuButton增加缺失的media_id字段 2016-08-18 18:01:17 +08:00
BinaryWang
f7a64a7cf6 将菜单相关的类转移到单独的包里方便管理,以便于某些特殊需求 2016-08-02 19:48:06 +08:00
BinaryWang
6643498a66 code clean up for common module 2016-08-02 19:40:44 +08:00
BinaryWang
49d561c117 优化WxError类的toString方法,避免输出重复内容 2016-08-01 09:16:09 +08:00
BinaryWang
65fb373c39 版本号更改为 2.1.0-SNAPSHOT 2016-08-01 09:15:14 +08:00
Binary Wang
36523bc250 更新版本号为正式版:2.0.0 2016-07-31 12:40:35 +08:00
BinaryWang
47c8c081ba 卡券接口代码提出单独类中维护,并添加单元测试 2016-07-28 14:19:54 +08:00
BinaryWang
b1f0b0787a 代码优化,由IDEA自动进行的Code Cleanup 2016-07-28 14:19:54 +08:00
BinaryWang
c8c0284a2b 版本号更新为 2.0.0-SNAPSHOT 2016-07-22 11:10:09 +08:00
BinaryWang
0c723bbf5c 微信消息类型增加小视频的类型 2016-07-15 16:24:35 +08:00
BinaryWang
55e0653521 修复更多的warning,尤其是导致打包warning的不规范或不必要的javadoc 2016-07-12 10:02:26 +08:00
miller
04b3d596ff 增加菜单按钮类型 2016-07-11 10:45:27 +08:00
Binary Wang
9ad2283d96 修正几种菜单按钮类型的命名,保持统一 2016-07-10 23:15:00 +08:00
BinaryWang
2ea838fce2 添加客服会话管理的三个事件 2016-07-08 11:01:44 +08:00
BinaryWang
c16e2fbe50 更新注释 2016-07-08 10:52:42 +08:00
BinaryWang
6b2e858a62 版本号更新为1.3.6-SNAPSHOT 2016-06-30 20:24:23 +08:00
Binary Wang
88a7ac3693 Merge branch 'wxMenuRule' into develop 2016-06-18 22:00:22 +08:00
Binary Wang
7057b8a960 为WxError加入builder模式支持 2016-06-16 23:03:32 +08:00
BinaryWang
dca8e307a0 add serialVersionUID for the classes which implement Serializable interface 2016-06-02 09:52:58 +08:00
BinaryWang
fb3a093be1 fix weird assignment statement 2016-06-02 09:50:00 +08:00
BinaryWang
14057344a5 remove unused imports 2016-06-02 09:47:49 +08:00
BinaryWang
46b3eba7e6 修改groupId,修复Pom文件,同步README.md文件 2016-06-01 10:41:48 +08:00
YuJian
f6c24ace0e 微信个性化菜单接口group_id改为tag_id
详细参见http://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1455782296&token=&lang=zh_CN
2016-05-14 14:26:28 +08:00
Wang Zhengjie
d756702bd8 修改设置代理的Bug。
修改设置代理的Bug。

Signed-off-by: Wang Zhengjie <wangzhengjie@tinkers.com.cn>
2016-03-11 17:57:51 +08:00
ben
c61fcb26c6 替换回httpclient,将httpclient配置独立出来提供更多可配置项目 2016-02-23 18:12:49 +08:00
miller
b805a9967c 1.WxMenuRule增加language字段
2.更改了WxMenu的toJson方法使menurule转换成正确的字符串
3.WxMenuTest中增加了相应的测试用例
2016-02-15 16:57:27 +08:00
YuJian
779e36b1fa 新增卡券相关接口6个
1. getCardApiTicket获得卡券的api_ticket
2. createCardApiSignature创建调用卡券api时的签名
3. decryptCardCode卡券code解码
4. queryCardCode卡券code查询
5. consumeCardCode卡券核销
6. markCardCode卡券mark接口
2016-01-11 21:03:21 +08:00
YuJian
89e092b04d 添加关于卡券事件推送的常量、XML消息字段 2016-01-11 20:46:35 +08:00
Daniel Qian
c8ed7738ab issue #172 jodd HttpResponse add charset("UTF-8") 2016-01-11 09:01:48 +08:00
Daniel Qian
25eb592f26 fix: #172 based on PR #259 2016-01-10 10:34:25 +08:00
Daniel Qian
72aab0d7b8 upgrade to 1.3.4-SNAPSHOT 2015-12-25 09:35:17 +08:00
Daniel Qian
03406f128f upgrade to 1.3.3 2015-12-25 09:27:35 +08:00
Daniel Qian
05777c664a Merge pull request #249 from tianmu/master
add conditional menu method
2015-12-23 08:46:56 +08:00
Tianmu
6b522da559 change name: matchrule to matchRule 2015-12-22 10:45:15 +08:00
tianmu
8d87609c0b Update WxMenu.java 2015-12-21 21:04:01 +08:00
tianmu
f8207ef65f change tab space
change tab space 2 times
2015-12-21 19:33:32 +08:00
tianmu
924d3c254f Update WxMenu.java 2015-12-21 16:14:48 +08:00
tianmu
f585385e6e change tab space
change tab space
2015-12-21 16:13:03 +08:00
Tianmu
34fda26e02 add conditional menu method 2015-12-21 16:00:18 +08:00
Liu Kai
15d6b79319 企业号的发送消息接口的数据格式中加入safe字段
根据微信企业号官方文档(
http://qydev.weixin.qq.com/wiki/index.php?title=%E6%B6%88%E6%81%AF%E7%B1%BB%E5%9E%8B%E5%8F%8A%E6%95%B0%E6%8D%AE%E6%A0%BC%E5%BC%8F
),发送消息接口的数据格式中需要加入safe字段。并且经过实际验证,官方文档上“safe为非必须项”的表述有误,safe应为必须项,即如果参数中没有写safe字段而调用发送消息接口的话,微信服务器会正常返回,但touser却收不到任何消息。

Change-Id: Ifc894e6f6b03147f000b42f346d2bdccb11b0c64
Signed-off-by: Liu Kai <liukai@tinkers.com.cn>
2015-12-18 12:11:11 +08:00
Daniel Qian
0388c8d9dc upgrade to 1.3.3-SNAPSHOT 2015-12-05 15:37:25 +08:00
Daniel Qian
780074f219 upgrade version 2015-12-03 12:47:38 +08:00
ukid
123e5ef973 票据验证方法 2015-10-23 14:33:32 +08:00
Daniel Qian
9363a67538 upgrade to 1.3.2-SNAPSHOT 2015-10-16 10:13:37 +08:00
Daniel Qian
5e7d1ebbbd upgrade to 1.3.1 2015-10-16 10:07:40 +08:00
Daniel Qian
fe8c70849a fix #211 上传素材时如果文件名是中文会乱码 2015-10-03 10:46:27 +08:00
Daniel Qian
9bbdc3b2a0 promote to 1.3.1-SNAPSHOT 2015-09-11 09:10:43 +08:00
Daniel Qian
8485af028a upgrade to 1.3.0 2015-09-11 09:05:15 +08:00
caosk
cf8f279818 企业号用户增加enable属性,可以同步本地系统的用户有效性,微信异常消息加冒号,代码已验证 2015-08-13 16:00:05 +08:00
Daniel Qian
c50c3a09c8 针对issue #189 的修改 2015-08-10 15:33:42 +08:00
ssls
ce109695e7 2015-08-03 17:09:44 +08:00
Daniel Qian
08338b0835 Merge pull request #142 from ukid/develop
修改js分享所需参数,去掉jsapiTicket,增加appid
2015-07-27 13:30:44 +08:00
Daniel Qian
c6d0f18a4c upgrade to 1.2.1-SNAPSHOT 2015-07-27 13:17:21 +08:00
Daniel Qian
871a34677d upgrade to 1.2.0 2015-07-27 13:12:27 +08:00
codepiano
d7d9734bf1 实现永久素材相关接口 2015-07-23 18:08:38 +08:00
ukid
f48a6f9c0e Merge commit '3853c7ee4050e67b9211c385147444100aa69ee5' into develop
* commit '3853c7ee4050e67b9211c385147444100aa69ee5':
  upgrade to 1.1.9-SNAPSHOT
  upgrade to version 1.1.8
  个人信息缺少remark和groupId
2015-07-21 17:10:23 +08:00
Daniel Qian
d162e31454 upgrade to 1.1.9-SNAPSHOT 2015-07-17 15:39:33 +08:00
Daniel Qian
42418a2d0d upgrade to version 1.1.8 2015-07-17 15:30:20 +08:00
ukid
7bb414fbe4 Merge commit '8d950286588c2784b75f88a72132ace4ef987c4d' into develop
* commit '8d950286588c2784b75f88a72132ace4ef987c4d':
  fix: IDEA 导入的时候总是会将编译level变成5.0的问题
  #165 #167
  #165 MediaDownloadRequestExecutor出错后就没有办法下载了
  upgrade version 1.1.8-SNAPSHOT
  update
  upgrade to 1.1.7
2015-07-14 18:02:39 +08:00
Daniel Qian
d3d61d753e #165 #167 2015-07-13 17:25:46 +08:00
Daniel Qian
4bee1ba2eb #165 MediaDownloadRequestExecutor出错后就没有办法下载了 2015-07-13 12:32:00 +08:00
Daniel Qian
f30211ce98 upgrade version 1.1.8-SNAPSHOT 2015-07-10 14:03:37 +08:00
Daniel Qian
1ade007250 upgrade to 1.1.7 2015-07-10 13:57:40 +08:00
ukid
49990279b7 Merge commit 'd707140d066f6648e7a2872ca3c0c8f866d4fac6' into develop
* commit 'd707140d066f6648e7a2872ca3c0c8f866d4fac6':
  upgrade to 1.1.7-SNAPSHOT
  upgrade to 1.1.6
2015-07-01 16:48:25 +08:00
Daniel Qian
d707140d06 upgrade to 1.1.7-SNAPSHOT 2015-06-26 16:40:07 +08:00
Daniel Qian
0491e23456 upgrade to 1.1.6 2015-06-26 16:38:08 +08:00
ukid
55f1d964bb Merge commit '4da9ea5dd5210674ccc3d20d470d337857182474' into develop
* commit '4da9ea5dd5210674ccc3d20d470d337857182474':
  增加临时文件目录配置
  增加忽略eclipse本地配置文件目录
  fix README
2015-06-17 13:10:10 +08:00
Daniel Qian
4da9ea5dd5 Merge pull request #155 from huansinho/master
临时文件目录配置
2015-06-15 13:04:50 +08:00
huansinho
f107bd2f44 增加临时文件目录配置
在下载多媒体文件下载时可以指定临时文件目录。
2015-06-14 02:37:31 +08:00
ukid
5bd2c489b7 Merge commit 'bd3fb69befd63826975b281bbe23d05622496219' into develop
* commit 'bd3fb69befd63826975b281bbe23d05622496219':
  update to 1.1.6-SNAPSHOT
  update to 1.1.5
2015-05-27 11:49:59 +08:00
Daniel Qian
bd3fb69bef update to 1.1.6-SNAPSHOT 2015-05-27 09:18:06 +08:00
Daniel Qian
72db0a2a76 update to 1.1.5 2015-05-27 09:15:57 +08:00
ukid
b205b7bff2 修改js分享所需参数,去掉jsapiTicket,增加appid 2015-05-21 13:21:00 +08:00
oohusl
5aba724633 公众号支付 2015-04-29 20:34:26 +08:00
dxw
fcd3a9d76b 修改文件类型arm为amr 2015-04-24 16:38:51 +08:00
Daniel Qian
ffc0fc442d upgrade to 1.1.5-SNAPSHOT 2015-04-16 14:19:47 +08:00
Daniel Qian
669552e503 upgrade to 1.1.4 2015-04-16 14:15:43 +08:00
Daniel Qian
82016c02bf version prompt 2015-03-23 11:20:40 +08:00
Daniel Qian
dfd2ade23f prompt to stable version 2015-03-23 11:09:23 +08:00
Daniel Qian
0c66505e45 #111 修复从文件系统反序列化WxMenu时,在windows平台下会存在编码问题 2015-03-20 17:40:15 +08:00
Daniel Qian
8254caf9ed #111 2015-03-20 15:05:26 +08:00
Daniel Qian
b885d2a1a9 #111 的unit test code 2015-03-20 14:59:59 +08:00
Daniel Qian
b648c55444 upgrade to 1.1.3-SNAPSHOT 2015-02-25 15:36:19 +08:00
Daniel Qian
316e54baaa upgrade to 1.1.2 2015-02-25 15:32:33 +08:00
Daniel Qian
2a439a6690 issue #107 请给实体类加上Serializable 2015-02-10 14:11:23 +08:00
Daniel Qian
5b49c63d14 issue #91 添加企业号JS_API的支持 2015-01-27 14:45:11 +08:00
Daniel Qian
4dc297c5ed upgrade to 1.1.2-SNAPSHOT 2015-01-25 11:17:48 +08:00
Daniel Qian
239ef054ec prompt version to 1.1.1 2015-01-25 10:59:45 +08:00
Daniel Qian
2c218d85c2 issue #80 增加用户进入应用的callback事件 2015-01-24 15:06:01 +08:00
Daniel Qian
b921490253 issue #86 handler, intercept方法签名添加throw WxException 2015-01-23 17:20:05 +08:00
Daniel Qian
7c3113eec8 upgrade to 1.1.1-SNAPSHOT 2015-01-22 14:44:12 +08:00
Daniel Qian
3003f68cf4 upgrade to 1.1.0 2015-01-22 14:42:41 +08:00
Daniel Qian
2427a1c395 upgrade to 1.1.0-SNAPSHOT 2015-01-22 14:15:27 +08:00
Daniel Qian
3216cb54dd issue #66 对去重逻辑做了一些调整 2015-01-22 14:06:15 +08:00
Daniel Qian
3ff9d260f2 issue #23 使用logback作为单元测试的log工具,并配置默认的log 2015-01-22 13:35:37 +08:00
Daniel Qian
6368ca6816 issue #69 添加Session的支持,添加测试用例 2015-01-22 12:36:51 +08:00
Daniel Qian
d18b66c38d issue #69 添加Session的支持 2015-01-21 22:25:56 +08:00
Daniel Qian
7184711301 refactor 2015-01-21 19:02:47 +08:00
Daniel Qian
4accbe6ec2 issue #69 添加Session的支持 2015-01-21 17:51:52 +08:00
Daniel Qian
7ea6e3ec03 remove author 2015-01-21 15:17:30 +08:00
Daniel Qian
8e1d58d565 remove author name 2015-01-21 15:15:57 +08:00
Daniel Qian
d3c9679eec issue #66 微信消息去重功能 2015-01-21 15:15:47 +08:00
Daniel Qian
5ff2ab6436 issue #23 添加日志输出功能,使用了slf4j 2015-01-21 15:07:34 +08:00
Daniel Qian
1635024146 issue #69
抄了apache tomcat的源代码里关于Session, StandardSession, Manager, StandardManager中关于Session管理部分的代码。
2015-01-21 13:31:04 +08:00
Daniel Qian
8c80ca25b6 modify 2015-01-21 09:28:25 +08:00
Daniel Qian
cef8ac01e8 issue #74;
git commit -m issue
2015-01-20 12:01:33 +08:00
Daniel Qian
9fe73319d1 issue #66 2015-01-20 09:49:39 +08:00
Daniel Qian
3ba128f656 issue #71 2015-01-19 16:46:52 +08:00
Daniel Qian
f3ec0b1965 issue #71 替换掉JAXB,避免因OpenJDK造成无法deserialize xml的错误 2015-01-19 16:27:58 +08:00
Daniel Qian
eaa77bc7b3 remove backup file 2015-01-19 11:22:18 +08:00
Daniel Qian
72611b2654 upgrade to 1.0.7-SNAPSHOT 2014-12-30 09:45:20 +08:00
Daniel Qian
976655386d upgrade to 1.0.6 2014-12-30 09:38:40 +08:00
Daniel Qian
bf05294122 update version 2014-12-01 16:43:29 +08:00
Daniel Qian
1d0919eb50 update version 2014-12-01 16:40:58 +08:00
Daniel Qian
7b92a14f1c issue #39 添加oauth2的支持 2014-11-26 23:05:00 +08:00
Daniel Qian
89aefa45d0 refactor 2014-11-06 14:01:32 +08:00
Daniel Qian
d4c25ceb38 update version 2014-11-05 18:10:31 +08:00
Daniel Qian
9d54743901 update version to 1.0.4 2014-11-03 21:54:08 +08:00
Daniel Qian
415ea95aeb issue #29 http代理支持 2014-11-03 21:29:40 +08:00
Daniel Qian
3067468f71 issue #29 http代理支持 2014-11-03 15:56:38 +08:00
Daniel Qian
294ad07259 upgrade to 1.0.4-SNAPSHOT 2014-11-01 13:44:33 +08:00
Daniel Qian
a69c972261 issue #24 模板消息接口 2014-11-01 13:42:18 +08:00
Daniel Qian
30fe7a0069 upgrade to 1.0.3 2014-10-22 14:59:32 +08:00
Daniel Qian
2c96d542d6 polish code 2014-10-22 13:38:16 +08:00
Daniel Qian
a8f5d07ff3 整理及重构 2014-10-22 12:15:02 +08:00