Commit Graph

365 Commits

Author SHA1 Message Date
crskyp
885db18ebc 使用装饰模式,支持apache-http和jodd-http (#194) 2017-04-25 10:14:33 +08:00
Binary Wang
5d92da6a35 简化test 2017-03-28 23:14:16 +08:00
Binary Wang
3ead031c2b 支持企业号mpnews消息类型 #143 2017-03-27 22:16:57 +08:00
Binary Wang
76892bd7cd 完善修补javadoc 2017-03-27 22:16:56 +08:00
Binary Wang
7340e03636 将部分仅供测试代码使用的常量挪走 2017-03-09 11:09:43 +08:00
凌云
89a92c2452 修改WxJsapiSignature对象,属性名字大小写与微信一致 2017-01-22 11:28:32 +08:00
cty
0350182db1 oauth2认证接口返回值中添加openid 2016-12-30 11:14:08 +08:00
Binary Wang
00421c4e6f 为接口请求增加日志输出 2016-12-15 15:26:12 +08:00
Binary Wang
b8a9795cf5 修复接口请求重试代码,避免无效等待 2016-12-15 15:23:29 +08:00
Binary Wang
72d6aadd97 修复 #80 menuCreate()方法代码的问题,and reformat code 2016-11-21 11:58:41 +08:00
Binary Wang
e4d5545f3d reformat some code 2016-11-21 11:06:27 +08:00
cty
6d01fa5210 修改WxCpMessage中agentId的数据类型, String-> Integer 2016-11-18 11:38:40 +08:00
Binary Wang
866155d581 修复部分代码,使用apache commons里现成的工具方法 2016-10-27 19:43:10 +08:00
Binary Wang
b84a2ec777 引入自定义ToString工具类和方法,便于查看部分bean对象值 2016-10-27 19:40:07 +08:00
Binary Wang
6682f5ff28 修复错误的参数名称: agendid -> agentid 2016-10-14 16:19:13 +08:00
Binary Wang
87f023e680 CP部分bean实现序列号接口,并添加serialVersionUID to fix #66 2016-10-14 13:47:19 +08:00
BinaryWang
2af7bee103 修复错误的单元测试代码 2016-10-13 15:41:16 +08:00
BinaryWang
e8d368f212 toString()方法替换掉较新版本的 commons-lang3引入的 ToStringStyle.JSON_STYLE 2016-10-12 14:19:53 +08:00
Binary Wang
21f14971c1 修复代理没有设置时会存在的问题 2016-09-16 21:52:40 +08:00
BinaryWang
023ed9a2a1 修复企业号proxy为空的bug,并重构规范若干变量的命名 2016-09-14 11:07:43 +08:00
BinaryWang
b68ec3aeed fix warnings 2016-09-08 15:49:43 +08:00
BinaryWang
775f058b22 fix warnings 2016-09-08 15:47:44 +08:00
BinaryWang
69df599afe fix warnings 2016-09-08 15:46:22 +08:00
BinaryWang
d42227c78e fix warnings 2016-09-08 15:35:51 +08:00
BinaryWang
4e67dbee51 fix warnings 2016-09-08 15:21:17 +08:00
BinaryWang
1388060891 fix warnings 2016-09-08 15:19:05 +08:00
Binary Wang
71709bbc36 重构修复部分代码 2016-09-01 21:58:28 +08:00
BinaryWang
7bd75c92a5 重构DefaultApacheHttpClientBuilder 2016-08-26 14:29:29 +08:00
Binary Wang
8d72adc52e fix javadoc error 2016-08-23 23:32:48 +08:00
BinaryWang
30c914f434 修复部分javadoc 2016-08-19 10:51:30 +08:00
gaigeshen
87707fad97 企业号全局配置存储添加Redis支持 2016-08-17 15:12:29 +08:00
gaigeshen
ff2cd99cf4 修复创建JS-API签名的漏洞 2016-08-16 10:08:14 +08:00
gaigeshen
5057f2d846 增加生成授权链接方法,重定向链接可直接读取配置。 2016-08-12 10:20:11 +08:00
BinaryWang
d05da579a8 code clean up for cp module 2016-08-02 19:49:27 +08:00
BinaryWang
f7a64a7cf6 将菜单相关的类转移到单独的包里方便管理,以便于某些特殊需求 2016-08-02 19:48:06 +08:00
BinaryWang
b1f0b0787a 代码优化,由IDEA自动进行的Code Cleanup 2016-07-28 14:19:54 +08:00
BinaryWang
55e0653521 修复更多的warning,尤其是导致打包warning的不规范或不必要的javadoc 2016-07-12 10:02:26 +08:00
BinaryWang
5d957582e3 修复一些warning,尤其是导致打包warning的不规范或不必要的javadoc 2016-07-12 09:33:08 +08:00
ben
c61fcb26c6 替换回httpclient,将httpclient配置独立出来提供更多可配置项目 2016-02-23 18:12:49 +08:00
Daniel Qian
25eb592f26 fix: #172 based on PR #259 2016-01-10 10:34:25 +08:00
ben
5778b42e1e XStreamTransformer 增加注册方法,来注册自定义的消息类型 2015-12-25 14:40: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
a25d2edc2f issue #204, 因为getAccessToken()方法可能返回过期数据,导致在executeInternal内部容易出现
无限递归产生StackoverflowException
2015-09-14 12:38:29 +08:00
Daniel Qian
cd3237d9cc Merge pull request #198 from ajffdnt/develop
增加企业号异步任务接口
2015-09-10 17:24:28 +08:00
Daniel Qian
5630b865c2 issue #200 2015-08-26 08:42:00 +08:00
caosk
afaa0a3bde 增加查看通讯录全量更新结果的接口 2015-08-15 20:05:32 +08:00
caosk
57acfd5330 增加企业用户和部门的全量同步接口 2015-08-14 18:45:13 +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
Daniel Qian
cf9ccbc54d fix: issue #128 2015-08-03 17:30:28 +08:00
Daniel Qian
d3d61d753e #165 #167 2015-07-13 17:25:46 +08:00
huansinho
f107bd2f44 增加临时文件目录配置
在下载多媒体文件下载时可以指定临时文件目录。
2015-06-14 02:37:31 +08:00
Daniel Qian
f7b5b52808 fix: compile error 2015-05-14 08:51:50 +08:00
Daniel Qian
ab916ddd71 issue #138 tagAddUsers 接口少了一个参数 2015-05-13 19:47:50 +08:00
Daniel Qian
0fb143600b issue #123 WxCpServiceImpl#tagGet 返回数据中没有tagname 2015-04-07 11:39:23 +08:00
Daniel Qian
a5d05d3458 issue #113 企业号oauth2getUserInfo报errcode=40029, errmsg=invalid code 2015-03-24 16:49:48 +08:00
Daniel Qian
7efdd448d1 fix: issue #112 2015-03-23 16:25:45 +08:00
Daniel Qian
0ae7a75f56 issue #109 企业号几个方法添加agentId参数 2015-02-26 15:05:06 +08:00
Daniel Qian
b8d011e73e issue #105 WxCpService.oauth2buildAuthorizationUrl方法设计错误 2015-02-11 17:56:48 +08:00
Daniel Qian
2a439a6690 issue #107 请给实体类加上Serializable 2015-02-10 14:11:23 +08:00
Daniel Qian
1e94c452ba issue #104 WxCpService.oauth2getUserInfo方法不会去刷新access token 2015-02-09 09:07:54 +08:00
Daniel Qian
d2eb529ab2 issue #99 Wx*MessageRouter.isDuplicateMessage方法逻辑错误 2015-02-04 17:12:02 +08:00
Daniel Qian
57e9beaae0 issue #91 添加企业号JS_API的支持 2015-02-04 17:09:15 +08:00
Daniel Qian
95d8bd3c47 issue #99 Wx*MessageRouter.isDuplicateMessage方法逻辑错误 2015-02-04 11:49:01 +08:00
Daniel Qian
4740f1f37b issue #91 2015-01-27 15:53:29 +08:00
Daniel Qian
5b49c63d14 issue #91 添加企业号JS_API的支持 2015-01-27 14:45:11 +08:00
Daniel Qian
1819b0e492 issue #87 WxMessageRouter、Rule提供setter方法,便于使用spring等依赖注入框架 2015-01-24 19:35:32 +08:00
Daniel Qian
97dff44b3e issue #78 删除接口支持批量操作 2015-01-24 15:27:14 +08:00
Daniel Qian
b8dd3662cd issue #79 增加批量获取用户详情的接口 2015-01-24 15:18:31 +08:00
Daniel Qian
10f841c591 修改一下方法签名,代码洁癖 2015-01-24 15:03:11 +08:00
Daniel Qian
037c326ebf issue #81 增加获取微信服务器的ip段接口 2015-01-24 15:00:10 +08:00
Daniel Qian
b43a62c3a6 issue #82 增加邀请成员关注接口 2015-01-24 14:51:57 +08:00
Daniel Qian
b921490253 issue #86 handler, intercept方法签名添加throw WxException 2015-01-23 17:20:05 +08:00
Daniel Qian
8ec76bda59 issue #84 Wx*ConfigStorage在多线程环境下有visibility问题 2015-01-23 10:13:02 +08:00
Daniel Qian
36dad7b8d0 issue #77 添加自定义消息匹配器的支持 2015-01-22 20:37:26 +08:00
Daniel Qian
b00bf13bd7 refactor: 修改rule.service方法签名 2015-01-22 20:11:22 +08:00
Daniel Qian
3fbb260bf7 add tostring 2015-01-22 17:11:35 +08:00
Daniel Qian
bf4c825279 issue #76 2015-01-22 16:11:34 +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
8e1d58d565 remove author name 2015-01-21 15:15:57 +08:00
Daniel Qian
5ff2ab6436 issue #23 添加日志输出功能,使用了slf4j 2015-01-21 15:07:34 +08:00
Daniel Qian
e53c921d17 fix: WxMpServiceImpl中用ThreadLocal记录重试次数,这个是有问题的,因为在多线程(线程池)环境下ThreadLocal是不会被清0的 2015-01-21 14:37:18 +08:00
Daniel Qian
01cee5a3d9 refactor: modify method 2015-01-20 15:14:14 +08:00
Daniel Qian
d0825ca396 update 2015-01-20 14:31:52 +08:00
Daniel Qian
5c7448f212 针对AccessToken,jsapi ticket添加强制刷新的功能 2015-01-20 14:30:44 +08:00
Daniel Qian
1daf3a63a1 refactor: CP 调整access token刷新策略 2015-01-20 14:13:11 +08:00
Daniel Qian
1bca854b52 refactor: mp 调整access token刷新策略 2015-01-20 13:53:42 +08:00
Daniel Qian
f00c5496c8 测试信息去掉隐私 2015-01-20 09:53:49 +08:00
Daniel Qian
9fe73319d1 issue #66 2015-01-20 09:49:39 +08:00
Daniel Qian
f3ec0b1965 issue #71 替换掉JAXB,避免因OpenJDK造成无法deserialize xml的错误 2015-01-19 16:27:58 +08:00
Daniel Qian
9757dd16fc issue #72 WxCpUser缺少avatar,status属性 2015-01-19 11:10:45 +08:00
Daniel Qian
28312a71a0 issue #54 企业号oauth2获得用户信息url拼接错误 2014-12-15 09:03:14 +08:00
Daniel Qian
c5b9d568e5 issue #47 同步规则同步执行,异步规则异步执行 2014-12-09 12:10:19 +08:00
Daniel Qian
24b1e9b4eb issue #47 rule的reEnter判断时机过迟的问题 2014-12-01 22:12:39 +08:00
Daniel Qian
880b9fdb55 update 2014-12-01 16:37:07 +08:00
Daniel Qian
806447abf1 issue #39 企业号添加oauth2的支持 2014-11-28 16:30:47 +08:00
Daniel Qian
8e4077e061 issue #45 生成的xml去掉<?xml...的头 2014-11-27 07:43:34 +08:00
Daniel Qian
6027125025 issue #46 2014-11-26 21:16:44 +08:00
Daniel Qian
08405a879d issue #43 typo 2014-11-18 12:50:15 +08:00
Daniel Qian
f49c47cf32 修改消息路由器,使用固定大小的线程池,并在构造函数里提供线程池大小的设置 2014-11-11 15:12:04 +08:00
Daniel Qian
a5637066a9 issue #36 News写成Mews的错误 2014-11-11 10:18:05 +08:00
Daniel Qian
89aefa45d0 refactor 2014-11-06 14:01:32 +08:00
Daniel Qian
146ab36c76 issue #32 发送客服消息图文消息时,拼接对象错误 2014-11-05 18:08:26 +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
d659e5b621 开放low-level方法,当本项目跟不上微信api的更新速度的时候,开发人员还可以使用 2014-11-01 18:24:20 +08:00
Daniel Qian
46e66d333a update 2014-10-22 15:04:39 +08:00
Daniel Qian
de67b77c22 update 2014-10-22 14:45:38 +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