forked from binarywang/WxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:Wechat-Group/weixin-java-tools i…
…nto wechat-develop * 'develop' of github.com:Wechat-Group/weixin-java-tools: (67 commits) 发布3.3.1.B测试版本 binarywang#900 增加新增团购券、现金抵扣券、折扣券、兑换券以及普通优惠券的接口 binarywang#899 WxCpXmlMessage增加存放xml消息的所有属性值的allFieldsMap属性 企业微信部门创建接口create返回值改为long类型 修改totalFee字段类型为Integer update contributor list Update demo.md Update readme.md Upgrade org.dom4j:dom4j to version 2.1.1 Update readme.md 更改版本号,准备发布最新正式版 项目更名 Update readme.md Update readme.md Update readme.md binarywang#888 修复微信支付部分接口请求中签名方法不统一的问题 增加些注释 优化代码 发布3.2.10.B测试版本 binarywang#889 修复一些潜在的XXE漏洞代码 ...
- Loading branch information
Showing
135 changed files
with
3,530 additions
and
1,226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,3 +53,6 @@ sonar-project.properties | |
|
||
!/.mvn/wrapper/maven-wrapper.jar | ||
*.versionsBackup | ||
|
||
# STS | ||
.factorypath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please refer to [【代码贡献指南】](contribution.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,10 @@ | |
- (***暂停此种方式,请使用第一种***)另外一种贡献代码的方式就是加入SDK Developers开发组,前提是对自己的代码足够自信就可以申请加入,加入之后可以随时直接提交代码,但要注意对所做的修改或新增的代码进行单元测试,保证提交代码没有明显问题。 | ||
|
||
### PR方式贡献代码步骤 | ||
* 在 GitHub 上 `fork` 到自己的仓库,如 `my_user/weixin-java-tools`,然后 `clone` 到本地,并设置用户信息。 | ||
* 在 GitHub 上 `fork` 到自己的仓库,如 `my_user/WxJava`,然后 `clone` 到本地,并设置用户信息。 | ||
|
||
```bash | ||
$ git clone [email protected]:my_user/weixin-java-tools.git | ||
$ git clone [email protected]:my_user/WxJava.git | ||
$ cd weixin-java-tools | ||
$ git config user.name "yourname" | ||
$ git config user.email "your email" | ||
|
@@ -27,7 +27,7 @@ $ git push | |
* 定期使用项目仓库内容更新自己仓库内容。 | ||
|
||
```bash | ||
$ git remote add upstream https://github.com/wechat-group/weixin-java-tools | ||
$ git remote add upstream https://github.com/Wechat-Group/WxJava | ||
$ git fetch upstream | ||
$ git checkout develop | ||
$ git rebase upstream/develop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ | |
xmlns="http://maven.apache.org/POM/4.0.0"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.github.binarywang</groupId> | ||
<artifactId>weixin-java-parent</artifactId> | ||
<version>3.2.4.B</version> | ||
<artifactId>wx-java</artifactId> | ||
<version>3.3.1.B</version> | ||
<packaging>pom</packaging> | ||
<name>Weixin Java Tools - Parent</name> | ||
<name>WxJava - Weixin/Wechat Java SDK</name> | ||
<description>微信开发Java SDK</description> | ||
<url>https://github.com/wechat-group/weixin-java-tools</url> | ||
<url>https://github.com/Wechat-Group/WxJava</url> | ||
|
||
<licenses> | ||
<license> | ||
|
@@ -85,6 +85,11 @@ | |
<email>[email protected]</email> | ||
<url>https://github.com/007gzs</url> | ||
</developer> | ||
<developer> | ||
<name>Howard Liu</name> | ||
<email>[email protected]</email> | ||
<url>https://github.com/howardliu-cn</url> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
|
@@ -109,7 +114,7 @@ | |
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<httpclient.version>4.5</httpclient.version> | ||
<jetty.version>9.3.0.RC0</jetty.version> | ||
<jetty.version>9.3.24.v20180605</jetty.version> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/ResponseHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package me.chanjar.weixin.common.util.http; | ||
|
||
/** | ||
* <pre> | ||
* http请求响应回调处理接口. | ||
* Created by Binary Wang on 2018/12/8. | ||
* </pre> | ||
* | ||
* @param <T> 返回值类型 | ||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | ||
*/ | ||
public interface ResponseHandler<T> { | ||
/** | ||
* 响应结果处理. | ||
* | ||
* @param t 要处理的对象 | ||
*/ | ||
void handle(T t); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
...a/me/chanjar/weixin/common/util/http/apache/ApacheHttpClientSimpleGetRequestExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.