Skip to content

Commit cc33de3

Browse files
committed
update some files
1 parent 92c8a86 commit cc33de3

File tree

3 files changed

+7
-21
lines changed

3 files changed

+7
-21
lines changed

contribution.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# 代码贡献指南
22
1. 非常欢迎和感谢对本项目发起Pull Request的同学,本项目代码风格为使用2个空格代表一个Tab,因此在提交代码时请注意一下,否则很容易在IDE格式化代码后与原代码产生大量diff,这样会给其他人阅读代码带来极大的困扰。为了便于设置,本项目引入editorconfig插件,请使用eclipse的同学在贡献代码前安装相关插件,IntelliJ IDEA新版本自带支持,如果没有可自行安装插件。
33
1. 本项目可以采用两种方式接受代码贡献:
4-
* 第一种就是基于[Git Flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)开发流程,因此在发起Pull Request的时候请选择develop分支,详细步骤参考后文。
5-
* 另外一种贡献代码的方式就是加入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)
4+
* 第一种就是基于[Git Flow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)开发流程,因此在发起Pull Request的时候请选择develop分支,详细步骤参考后文,推荐使用此种方式贡献代码。
5+
****暂停此种方式,请使用第一种***)另外一种贡献代码的方式就是加入SDK Developers开发组,前提是对自己的代码足够自信就可以申请加入,加入之后可以随时直接提交代码,但要注意对所做的修改或新增的代码进行单元测试,保证提交代码没有明显问题。
6+
1. 另外,提交代码前请检查代码是否已经格式化,并且保证新增加或者修改的方法都有完整的参数说明,而public方法必须拥有相应的单元测试并通过测试。
67

78

89
### PR方式贡献代码步骤

readme.md

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,56 +43,41 @@
4343
## 可参考的Demo项目
4444
#### 欢迎提供更多的Demo供新手参考:
4545
* https://github.com/wechat-group/weixin-java-mp-demo (公众号Demo,使用Spring MVC实现)
46-
* https://github.com/wechat-group/weixin-java-mp-multi-demo (支持多公众号)
47-
* https://github.com/wechat-group/weixin-java-tools-springmvc (公众号Demo,内含部分微信支付代码)
4846
* https://github.com/wechat-group/weixin-java-mp-demo-springboot (公众号Demo,使用Spring Boot实现)
47+
* https://github.com/wechat-group/weixin-java-tools-springmvc (公众号Demo,内含部分微信支付代码)
48+
* https://github.com/wechat-group/weixin-java-mp-multi-demo (支持多公众号)
4949
* https://github.com/wechat-group/weixin-java-pay-demo (微信支付demo)
5050
* https://github.com/wechat-group/weixin-java-cp-demo (企业号demo,筹备中)
5151

5252
---------------------------------
53-
## Maven & Gradle 最新正式版本
53+
## Maven 最新正式版本
5454

5555
* 微信支付:
5656

57-
maven:
5857
```xml
5958
<dependency>
6059
<groupId>com.github.binarywang</groupId>
6160
<artifactId>weixin-java-pay</artifactId>
6261
<version>2.6.0</version>
6362
</dependency>
6463
```
65-
gradle:
66-
```groovy
67-
compile 'com.github.binarywang:weixin-java-pay:2.6.0'
68-
```
6964

7065
* 公众号(订阅号及服务号):
7166

72-
maven:
7367
```xml
7468
<dependency>
7569
<groupId>com.github.binarywang</groupId>
7670
<artifactId>weixin-java-mp</artifactId>
7771
<version>2.6.0</version>
7872
</dependency>
7973
```
80-
gradle:
81-
```groovy
82-
compile 'com.github.binarywang:weixin-java-mp:2.6.0'
83-
```
8474

8575
* 企业号:
8676

87-
maven:
8877
```xml
8978
<dependency>
9079
<groupId>com.github.binarywang</groupId>
9180
<artifactId>weixin-java-cp</artifactId>
9281
<version>2.6.0</version>
9382
</dependency>
9483
```
95-
gradle:
96-
```groovy
97-
compile 'com.github.binarywang:weixin-java-cp:2.6.0'
98-
```

weixin-java-osgi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.github.binarywang</groupId>
88
<artifactId>weixin-java-parent</artifactId>
9-
<version>2.5.2.BETA</version>
9+
<version>2.6.0</version>
1010
</parent>
1111

1212
<artifactId>weixin-java-osgi</artifactId>

0 commit comments

Comments
 (0)