Git Product home page Git Product logo

weixin-java-tools's Introduction

微信支付、公众号&企业号开发Java SDK

Maven Central Build Status

注意事项:

  1. 声明: 本项目Fork自chanjarster/weixin-java-tools,但由于原项目已停止维护,故单独维护和发布,且发布到maven上的groupId也会不同,详细信息见下文。
  2. 新手请注意,本项目仅是一个开发工具包(即SDK),未提供Web实现,建议使用maven或gradle引用本项目即可使用本SDK提供的各种功能,详情可参考下文中提到的Demo项目或本项目中的部分单元测试代码;如果没有贡献代码的意愿,不建议下载项目的源码自行编译,因为如果想看源码使用maven也是可以下载源码的
  3. 最新更新:2017-4-13 发布【2.6.0正式版】
  4. 开源**网站的本项目介绍的首页链接地址:https://www.oschina.net/p/weixin-java-tools-new
  5. 自2.0.0版本以来,公众号的接口调整比较大,主要是为了解决主接口类过于庞大不方便管理的问题,将接口实现代码按模块进行拆分。
  6. 自2.6.0版本开始,微信支付相关功能抽出独立为一个模块,详细使用方式请参考相关demo;
  7. SDK详细开发文档请查阅 【Wiki】,部分文档可能未能及时更新,如有发现,可以及时上报或者自行修改。另外微信开发新手请务必阅读wiki首页的常见问题部分,可以少走很多弯路,节省不少时间。
  8. 各个模块的Javadoc可以在线查看(有可能是最新的测试版本的,请注意观察版本号):weixin-java-payweixin-java-mpweixin-java-commonweixin-java-cp
  9. 本SDK要求的最低JDK版本是7,还在使用JDK6的用户请参考【此项目】 ,而其他更早的JDK版本则需要自己改造实现。
  10. 如有新功能需求,发现BUG,或者由于微信官方接口调整导致的代码问题,可以直接在【Issues】页提出issue,便于讨论追踪问题;
  11. 如果想贡献代码,请阅读【代码贡献指南】
  12. 捐助渠道已开通,如有意向请前往托管于码云的项目首页(具体地址见下文)的页面评论区上方,可以找到“捐助”按钮,非常感谢各位捐助的同学!

SDK使用交流方式说明:

  1. QQ群: 加入QQ群加入QQ群,推荐点击按钮入群,当然如果无法成功操作,请自行搜索群号343954419进行添加 )
  2. 由于群容量有限,即将爆满,故开启付费入群模式以保证只有真实交流需求的人进入,如果确实因为各种原因无法付费入群的,请联系群主说明原因即可入群;并为保证群的活跃度,本群将不定期清理长时间不活跃的同学;
  3. 微信群: 因微信群已达到100人限制,故如有想加入微信群的,请入QQ群后联系管理员,提供微信号以便邀请加入;
  4. 新手提问前,请先阅读此文章:http://t.cn/RV93MRB
  5. 寻求帮助时需贴代码或大长串异常信息的,请利用http://paste.ubuntu.com

版本说明

  1. 本项目定为大约每两个月发布一次正式版,版本号格式为X.X.0(如2.1.0,2.2.0等),遇到重大问题需修复会及时提交新版本,欢迎大家随时提交Pull Request;
  2. BUG修复和新特性一般会先发布成小版本作为临时测试版本(如2.4.5.BETA,2.4.6.BETA等,即尾号不为0,并添加BETA字样,以区别于正式版);
  3. 目前最新版本号为 Maven Central ,也可以通过访问链接 【微信支付】【公众号】【企业号】 分别查看所有最新的版本。

本项目在几个著名的代码托管网站同步更新,地址分别是:


可参考的Demo项目

欢迎提供更多的Demo供新手参考:


Maven & Gradle 最新正式版本

  • 微信支付:

maven:

<dependency>
  <groupId>com.github.binarywang</groupId>
  <artifactId>weixin-java-pay</artifactId>
  <version>2.6.0</version>
</dependency>

gradle:

compile 'com.github.binarywang:weixin-java-pay:2.6.0'
  • 公众号(订阅号及服务号):

maven:

<dependency>
  <groupId>com.github.binarywang</groupId>
  <artifactId>weixin-java-mp</artifactId>
  <version>2.6.0</version>
</dependency>

gradle:

compile 'com.github.binarywang:weixin-java-mp:2.6.0'
  • 企业号:

maven:

<dependency>
  <groupId>com.github.binarywang</groupId>
  <artifactId>weixin-java-cp</artifactId>
  <version>2.6.0</version>
</dependency>

gradle:

compile 'com.github.binarywang:weixin-java-cp:2.6.0'

weixin-java-tools's People

Contributors

aalx avatar aimilin6688 avatar alanchenup avatar binarywang avatar bysunexus avatar chanjarster avatar codepiano avatar dracupid avatar dwandw avatar dxwts avatar ericlogic avatar fxdfxq avatar gaigeshen avatar huansinho avatar kareanyi avatar lijunkun1988 avatar lly835 avatar mgcnrx11 avatar simondolph avatar stvliu avatar tianmu avatar ukid avatar xiaohulu avatar xusheng1987 avatar zexpp5 avatar zhaoxiongtan avatar zxkane avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.