update some files

This commit is contained in:
Binary Wang 2017-06-06 18:59:48 +08:00
parent 92c8a86199
commit cc33de3de9
3 changed files with 7 additions and 21 deletions

View File

@ -1,8 +1,9 @@
# 代码贡献指南
1. 非常欢迎和感谢对本项目发起Pull Request的同学本项目代码风格为使用2个空格代表一个Tab因此在提交代码时请注意一下否则很容易在IDE格式化代码后与原代码产生大量diff这样会给其他人阅读代码带来极大的困扰。为了便于设置本项目引入editorconfig插件请使用eclipse的同学在贡献代码前安装相关插件IntelliJ IDEA新版本自带支持如果没有可自行安装插件。
1. 本项目可以采用两种方式接受代码贡献:
* 第一种就是基于[Git Flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)开发流程因此在发起Pull Request的时候请选择develop分支详细步骤参考后文。
* 另外一种贡献代码的方式就是加入SDK Developers开发组前提是对自己的代码足够自信就可以申请加入加入之后可以随时直接提交代码但要注意对所做的修改或新增的代码进行单元测试保证提交代码没有明显问题具体加入方式请咨询QQ群管理员[![点击这里给我发消息](http://wpa.qq.com/pa?p=2:1211415707:51)](http://wpa.qq.com/msgrd?v=3&uin=1211415707&site=qq&menu=yes)。
* 第一种就是基于[Git Flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)开发流程因此在发起Pull Request的时候请选择develop分支详细步骤参考后文推荐使用此种方式贡献代码。
* ***暂停此种方式,请使用第一种***另外一种贡献代码的方式就是加入SDK Developers开发组前提是对自己的代码足够自信就可以申请加入加入之后可以随时直接提交代码但要注意对所做的修改或新增的代码进行单元测试保证提交代码没有明显问题。
1. 另外提交代码前请检查代码是否已经格式化并且保证新增加或者修改的方法都有完整的参数说明而public方法必须拥有相应的单元测试并通过测试。
### PR方式贡献代码步骤

View File

@ -43,18 +43,17 @@
## 可参考的Demo项目
#### 欢迎提供更多的Demo供新手参考:
* https://github.com/wechat-group/weixin-java-mp-demo 公众号Demo使用Spring MVC实现
* https://github.com/wechat-group/weixin-java-mp-multi-demo (支持多公众号)
* https://github.com/wechat-group/weixin-java-tools-springmvc 公众号Demo内含部分微信支付代码
* https://github.com/wechat-group/weixin-java-mp-demo-springboot 公众号Demo使用Spring Boot实现
* https://github.com/wechat-group/weixin-java-tools-springmvc 公众号Demo内含部分微信支付代码
* https://github.com/wechat-group/weixin-java-mp-multi-demo (支持多公众号)
* https://github.com/wechat-group/weixin-java-pay-demo 微信支付demo
* https://github.com/wechat-group/weixin-java-cp-demo 企业号demo筹备中
---------------------------------
## Maven & Gradle 最新正式版本
## Maven 最新正式版本
* 微信支付:
maven
```xml
<dependency>
<groupId>com.github.binarywang</groupId>
@ -62,14 +61,9 @@ maven
<version>2.6.0</version>
</dependency>
```
gradle
```groovy
compile 'com.github.binarywang:weixin-java-pay:2.6.0'
```
* 公众号(订阅号及服务号):
maven
```xml
<dependency>
<groupId>com.github.binarywang</groupId>
@ -77,14 +71,9 @@ maven
<version>2.6.0</version>
</dependency>
```
gradle
```groovy
compile 'com.github.binarywang:weixin-java-mp:2.6.0'
```
* 企业号:
maven
```xml
<dependency>
<groupId>com.github.binarywang</groupId>
@ -92,7 +81,3 @@ maven
<version>2.6.0</version>
</dependency>
```
gradle
```groovy
compile 'com.github.binarywang:weixin-java-cp:2.6.0'
```

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.github.binarywang</groupId>
<artifactId>weixin-java-parent</artifactId>
<version>2.5.2.BETA</version>
<version>2.6.0</version>
</parent>
<artifactId>weixin-java-osgi</artifactId>