mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
update some files
This commit is contained in:
parent
92c8a86199
commit
cc33de3de9
@ -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/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方式贡献代码步骤
|
||||
|
21
readme.md
21
readme.md
@ -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'
|
||||
```
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user