Commit Graph

134 Commits

Author SHA1 Message Date
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
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
47c8c081ba 卡券接口代码提出单独类中维护,并添加单元测试 2016-07-28 14:19:54 +08:00
BinaryWang
b1f0b0787a 代码优化,由IDEA自动进行的Code Cleanup 2016-07-28 14:19:54 +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
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
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
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
ukid
123e5ef973 票据验证方法 2015-10-23 14:33:32 +08:00
Daniel Qian
fe8c70849a fix #211 上传素材时如果文件名是中文会乱码 2015-10-03 10:46:27 +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
codepiano
d7d9734bf1 实现永久素材相关接口 2015-07-23 18:08:38 +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
ukid
55f1d964bb Merge commit '4da9ea5dd5210674ccc3d20d470d337857182474' into develop
* commit '4da9ea5dd5210674ccc3d20d470d337857182474':
  增加临时文件目录配置
  增加忽略eclipse本地配置文件目录
  fix README
2015-06-17 13:10:10 +08:00
huansinho
f107bd2f44 增加临时文件目录配置
在下载多媒体文件下载时可以指定临时文件目录。
2015-06-14 02:37:31 +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
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
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
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
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
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
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
a69c972261 issue #24 模板消息接口 2014-11-01 13:42:18 +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