|
1 |
| -## WxJava(原weixin-java-tools)微信Java开发工具包(SDK) |
| 1 | +## WxJava - 微信开发 Java SDK(开发工具包) |
| 2 | + |
| 3 | +[](https://github.com/996icu/996.ICU/blob/master/LICENSE) |
| 4 | +[](https://996.icu/#/zh_CN) |
2 | 5 |
|
3 | 6 | [](https://gitee.com/binary/weixin-java-tools)
|
4 | 7 | [](https://github.com/Wechat-Group/WxJava)
|
|
8 | 11 | [](https://www.jetbrains.com/?from=WxJava-weixin-java-tools)
|
9 | 12 | [](https://opensource.org/licenses/Apache-2.0)
|
10 | 13 |
|
11 |
| ---------------------------------- |
12 |
| -#### 支持包括微信支付、开放平台、公众号(包括订阅号和服务号)、企业微信/企业号、小程序等微信功能的后端开发。 |
13 |
| ---------------------------------- |
| 14 | +#### 支持包括微信支付、开放平台、公众号、企业微信/企业号、小程序等微信功能的后端开发。 |
| 15 | + |
| 16 | +<table> |
| 17 | + <tbody> |
| 18 | + <tr> |
| 19 | + <td align="left" valign="middle"> |
| 20 | + <img width="200" src="https://gitee.com/binary/weixin-java-tools/raw/master/qrcodes/mp.jpg"> |
| 21 | + </td> |
| 22 | + <td align="right" valign="middle"> |
| 23 | + <a href="https://coding.net/?utm_source=WxJava" target="_blank"> |
| 24 | + <img width="700" src="https://gitee.com/binary/weixin-java-tools/raw/master/banners/readme.jpg"> |
| 25 | + </a> |
| 26 | + </td> |
| 27 | + </tr> |
| 28 | + </tbody> |
| 29 | +</table> |
14 | 30 |
|
15 | 31 | ### 重要信息
|
16 | 32 | 1. **2018-12-23 项目更名为WxJava,并发布 [【3.3.0正式版】](https://github.com/Wechat-Group/WxJava/releases)**!
|
17 | 33 | 1. 新手重要提示:本项目仅是一个SDK开发工具包,未提供Web实现,建议使用maven或gradle引用本项目即可使用本SDK提供的各种功能,详情可参考 **[【Demo项目】](demo.md)** 或本项目中的部分单元测试代码;另外微信开发新手请务必阅读[【开发文档 Wiki 首页】](https://github.com/Wechat-Group/WxJava/wiki)的常见问题部分,可以少走很多弯路,节省不少时间。
|
18 | 34 |
|
19 | 35 | ---------------------------------
|
20 | 36 | ### 技术交流方式
|
21 |
| -1. QQ群:(**注意:目前为付费群,刚入群会有5分钟禁言,稍等片刻即可正常发言**) [](http://shang.qq.com/wpa/qunwpa?idkey=731dc3e7ea31ebe25376cc1a791445468612c63fd0e9e05399b088ec81fd9e15) 或 [](http://jq.qq.com/?_wv=1027&k=40lRskK),推荐点击按钮入群,当然如果无法成功操作,请自行搜索群号`343954419`进行添加;由于群容量有限,为了维持运营千人QQ群的所需支付的QQ年费会员费用,故开启付费入群模式,申请者只需支付少量金额即可加入,这样也可以保证只有真实交流需求的人进入,避免闲杂做广告人员的乱入;当然如果确实因为各种原因无法付费入群的,请联系群主说明原因即可入群; |
22 |
| -1. 微信群: 请关注公众号后点击相关菜单入群; |
| 37 | +1. QQ群/微信群/企业微信/钉钉企业群等,请扫描上面的二维码关注微信公众号【WxJava】后,点击相关菜单获取相关信息加入,也可以在微信中搜索 `weixin-java-tools`或 `WxJava` 关注公众号,公众号会及时通知SDK相关更新信息,并不定期分享微信Java开发相关技术知识; |
23 | 38 | 1. 钉钉企业群:[请点击链接申请加入](https://h5.dingtalk.com/inviteColleague/index.html#/invite/9ed100cc4a/E1DF918E32E398D191E7FE61FE0552A6) 或者 [用手机钉钉APP扫码](qrcodes/ding_qrcode.jpg) 申请加入。
|
24 | 39 | 1. 新手提问前,请先阅读[【提问的智慧】](http://www.binarywang.com/article/smart-questions),并确保已查阅过 [【开发文档Wiki】](https://github.com/wechat-group/WxJava/wiki);
|
25 |
| -1. 寻求帮助时需贴代码或大长串异常信息的,请利用http://paste.ubuntu.com |
26 |
| -1. **另外,想要得到更多开发交流讨论方式,请扫描以下二维码,关注微信公众号【WxJava】,或者加入企业微信,当然也可以在微信中搜索 `weixin-java-tools`或 `WxJava` 关注公众号,公众号会及时通知SDK相关更新信息,并不定期分享微信Java开发相关技术知识。** |
27 |
| - |
28 |
| - |
| 40 | +1. 寻求帮助时需贴代码或大长串异常信息的,请利用http://paste.ubuntu.com |
29 | 41 |
|
30 | 42 | --------------------------------
|
31 | 43 | ### 其他说明
|
32 |
| -1. 本项目Fork自chanjarster/weixin-java-tools,但由于原项目已停止维护,故单独维护和发布,且发布到maven上的groupId也会不同,详细信息见下文。 |
33 |
| -1. [开源中国本项目的首页](https://www.oschina.net/p/weixin-java-tools-new),欢迎大家积极留言评分 🙂 |
34 |
| -1. SDK详细开发文档请查阅 [【开发文档Wiki】](https://github.com/wechat-group/WxJava/wiki),部分文档可能未能及时更新,如有发现,可以及时上报或者自行修改。 |
35 | 44 | 1. **阅读源码的同学请注意,本SDK为简化代码编译时加入了lombok支持,如果不了解lombok的话,请先学习下相关知识,比如可以阅读[此文章](https://mp.weixin.qq.com/s/cUc-bUcprycADfNepnSwZQ);**
|
36 | 45 | 1. 如有新功能需求,发现BUG,或者由于微信官方接口调整导致的代码问题,可以直接在[【Issues】](https://github.com/Wechat-Group/WxJava/issues)页提出issue,便于讨论追踪问题;
|
37 | 46 | 1. 如果想贡献代码,请阅读[【代码贡献指南】](contribution.md);
|
38 |
| -1. **如果本SDK对您有所帮助,欢迎对我们的努力进行肯定,可以扫描[【支付宝付款码】](qrcodes/alipay_qrcode.jpg)或者[【微信支付二维码】](qrcodes/wepay_qrcode.jpg)进行打赏,或者直接前往[【托管于码云的项目首页】](http://gitee.com/binary/weixin-java-tools),在评论区上方可以找到“捐助”按钮。非常感谢各位打赏和捐助的同学!** |
39 |
| -1. 各个模块的Javadoc可以在线查看:[weixin-java-miniapp](http://binary.ac.cn/weixin-java-miniapp-javadoc/)、[weixin-java-pay](http://binary.ac.cn/weixin-java-pay-javadoc/)、[weixin-java-mp](http://binary.ac.cn/weixin-java-mp-javadoc/)、[weixin-java-common](http://binary.ac.cn/weixin-java-common-javadoc/)、[weixin-java-cp](http://binary.ac.cn/weixin-java-cp-javadoc/)、[weixin-java-open](http://binary.ac.cn/weixin-java-open-javadoc/) |
40 | 47 | 1. 本SDK要求的最低JDK版本是1.7,还在使用JDK6的用户请参考[【此项目】]( https://github.com/binarywang/weixin-java-tools-for-jdk6) ,而其他更早的JDK版本则需要自己改造实现。
|
| 48 | +1. [开源中国本项目的首页](https://www.oschina.net/p/weixin-java-tools-new),欢迎大家积极留言评分 🙂 |
| 49 | +1. SDK详细开发文档请查阅 [【开发文档Wiki】](https://github.com/wechat-group/WxJava/wiki),部分文档可能未能及时更新,如有发现,可以及时上报或者自行修改。 |
| 50 | +1. **如果本SDK对您有所帮助,欢迎对我们的努力进行肯定,可以扫描[【支付宝付款码】](qrcodes/alipay.jpg)或者[【微信支付二维码】](qrcodes/wepay.jpg)进行打赏,或者直接前往[【托管于码云的项目首页】](http://gitee.com/binary/weixin-java-tools),在评论区上方可以找到“捐助”按钮。非常感谢各位打赏和捐助的同学!** |
| 51 | +1. 各个模块的Javadoc可以在线查看:[weixin-java-miniapp](http://binary.ac.cn/weixin-java-miniapp-javadoc/)、[weixin-java-pay](http://binary.ac.cn/weixin-java-pay-javadoc/)、[weixin-java-mp](http://binary.ac.cn/weixin-java-mp-javadoc/)、[weixin-java-common](http://binary.ac.cn/weixin-java-common-javadoc/)、[weixin-java-cp](http://binary.ac.cn/weixin-java-cp-javadoc/)、[weixin-java-open](http://binary.ac.cn/weixin-java-open-javadoc/) |
41 | 52 | 1. 本SDK项目在以下代码托管网站同步更新:
|
42 | 53 | * 码云:https://gitee.com/binary/weixin-java-tools
|
43 | 54 | * GitHub:https://github.com/wechat-group/WxJava
|
44 | 55 |
|
| 56 | +[](http://hits.dwyl.io/Wechat-Group/WxJava) |
| 57 | + |
45 | 58 | ---------------------------------
|
46 | 59 | ### SDK使用方式
|
47 | 60 | 注意:最新版本(包括测试版)为 [](http://mvnrepository.com/artifact/com.github.binarywang/wx-java),以下为最新正式版。
|
48 | 61 |
|
49 | 62 | ```xml
|
50 | 63 | <dependency>
|
51 | 64 | <groupId>com.github.binarywang</groupId>
|
52 |
| - <artifactId>(不同模块参考下文)</artifactId> |
53 |
| - <version>3.2.0</version> |
| 65 | + <artifactId>(不同模块参考下文)</artifactId> |
| 66 | + <version>3.3.0</version> |
54 | 67 | </dependency>
|
55 | 68 | ```
|
56 | 69 | * 各模块的`artifactId`:
|
|
71 | 84 | ### 使用案例
|
72 | 85 | 1. 开源项目:https://github.com/workcheng/weiya
|
73 | 86 | 1. 开源项目:https://github.com/jmdhappy/xxpay-master
|
74 |
| -1. 微信点餐系统开源项目:http://www.sqmax.top/springboot-project/ |
| 87 | +1. 开源工具:https://github.com/rememberber/WePush |
| 88 | +1. 开源项目(微信点餐系统):http://www.sqmax.top/springboot-project/ |
| 89 | +1. 小程序:(京东)友家铺子,友家铺子店长版,京粉精选 |
75 | 90 | 1. 小程序:[喵星人贴吧助手(扫码关注)](http://p98ahz3tg.bkt.clouddn.com/miniappqrcode.jpg)
|
76 | 91 | 1. 小程序:树懒揽书+
|
77 | 92 | 1. 小程序:广廉快线,鹏城巴士等
|
| 93 | +1. 小程序:当燃挑战、sportlight轻灵运动 |
78 | 94 | 1. 小程序:360考试宝典
|
79 |
| -1. 平台:[小猪餐餐](http://www.xzcancan.com/) |
80 |
| -1. 平台:[餐饮系统](http://canyin.daydao.com) |
81 | 95 | 1. 公众号:中国电信上海网厅(sh_189)
|
82 | 96 | 1. 公众号:E答平台
|
| 97 | +1. 公众号:宁夏生鲜365 |
| 98 | +1. 公众号:通服货滴 |
| 99 | +1. 公众号:神龙养车 |
| 100 | +1. 公众号:沃音乐商务智能 |
83 | 101 | 1. 公众号:[全民约跑健身便利店](http://www.oneminsport.com/)
|
84 | 102 | 1. 公众号:[洽洽食品](https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQFM8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAycDRPOXBZbVZib2UxMDAwME0wN2gAAgRIu4RbAwQAAAAA)、[洽洽合伙人](https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQFP8jwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyOUpJaU5VcXBlWTAxMDAwME0wN1oAAgSau4RbAwQAAAAA)
|
85 | 103 | 1. 公众号和小程序:民医台(可自行搜索)
|
86 |
| -1. 洽洽企业号 |
87 | 104 | 1. 高善人力资源
|
| 105 | +1. 平台:[小猪餐餐](http://www.xzcancan.com/) |
| 106 | +1. 平台:[餐饮系统](http://canyin.daydao.com) |
| 107 | +1. 锐捷网络:Saleslink |
| 108 | +1. 洽洽企业号 |
| 109 | +1. HTC企业微信 |
88 | 110 | 1. 其他更多案例请[【访问这里】](https://github.com/Wechat-Group/weixin-java-tools/issues/729),持续更新中。
|
89 | 111 |
|
90 | 112 | ----------------------------------
|
91 | 113 | ### 贡献者列表
|
92 |
| -特别感谢以下参与贡献的所有同学! |
| 114 | +特别感谢参与贡献的所有同学!所有贡献者列表请在[此处](https://github.com/Wechat-Group/WxJava/graphs/contributors)查看。 |
| 115 | +以下仅列出贡献次数最多的几位,欢迎大家踊跃贡献代码! |
93 | 116 | 1. [chanjarster (Daniel Qian)](http://github.com/chanjarster)
|
94 | 117 | 1. [binarywang (Binary Wang)](http://github.com/binarywang)
|
95 | 118 | 1. [mgcnrx11](http://github.com/mgcnrx11)
|
|
100 | 123 | 1. [tianmu](http://github.com/tianmu)
|
101 | 124 | 1. [rememberber (周波)](http://github.com/rememberber)
|
102 | 125 | 1. [charmingoh (Charming)](http://github.com/charmingoh)
|
103 |
| -1. [gaigeshen (gaigeshen)](http://github.com/gaigeshen) |
104 |
| -1. [ukid](http://github.com/ukid) |
105 |
| -1. [forfuns (爱因斯唐)](http://github.com/forfuns) |
106 |
| -1. [yuanqixun (yuanqixun)](http://github.com/yuanqixun) |
107 |
| -1. [zxkane (Meng Xin Zhu)](http://github.com/zxkane) |
108 |
| -1. [crskyp (我是木予)](http://github.com/crskyp) |
109 |
| -1. [dylanleung (dylanleung)](http://github.com/dylanleung) |
110 |
| -1. [huansinho](http://github.com/huansinho) |
111 |
| -1. [codepiano (codepiano)](http://github.com/codepiano) |
112 |
| -1. [stvliu (Steven Liu)](http://github.com/stvliu) |
113 |
| -1. [unlimitedsola (Sola)](http://github.com/unlimitedsola) |
114 |
| -1. [fxdfxq (fxdfxq)](http://github.com/fxdfxq) |
115 |
| -1. [withinthefog (withinthefog)](http://github.com/withinthefog) |
116 |
| -1. [DDLeEHi](http://github.com/DDLeEHi) |
117 |
| -1. [nickwongwong (Nick Wong)](http://github.com/nickwongwong) |
118 |
| -1. [jink2005 (Jink2005)](http://github.com/jink2005) |
119 |
| -1. [ajffdnt](http://github.com/ajffdnt) |
120 |
| -1. [iwareserictsai (Eric.Tsai)](http://github.com/iwareserictsai) |
121 |
| -1. [SimonDolph (Simon Dolph)](http://github.com/SimonDolph) |
122 |
| -1. [ZhaoxiongTan (xiong)](http://github.com/ZhaoxiongTan) |
123 |
| -1. [howardliu-cn (看山)](http://github.com/howardliu-cn) |
124 |
| -1. [SunshineTech (SunshineTech Zhang)](http://github.com/SunshineTech) |
125 |
| -1. [xusheng1987 (flying)](http://github.com/xusheng1987) |
126 |
| -1. [lwxian](http://github.com/lwxian) |
127 |
| -1. [aliangsoft (阿亮软件)](http://github.com/aliangsoft) |
128 |
| -1. [zhfish (zhfish)](http://github.com/zhfish) |
129 |
| -1. [dwandw (dwandw)](http://github.com/dwandw) |
130 |
| -1. [alanchenup (alanchen)](http://github.com/alanchenup) |
131 |
| -1. [zexpp5 (Lance7in)](http://github.com/zexpp5) |
132 |
| -1. [xiaohulu (huluwa)](http://github.com/xiaohulu) |
133 |
| -1. [aalx (devina)](http://github.com/aalx) |
134 |
| -1. [rtsbtx (强哥)](http://github.com/rtsbtx) |
135 |
| -1. [dracupid (Jingchen Zhao)](http://github.com/dracupid) |
136 |
| -1. [lijunkun1988](http://github.com/lijunkun1988) |
137 |
| -1. [lly835](http://github.com/lly835) |
138 |
| -1. [mog0202 (蘑菇0202)](http://github.com/mog0202) |
139 |
| -1. [bobbyguo (bobby_guo)](http://github.com/bobbyguo) |
140 |
| -1. [huotaihe (白马度和)](http://github.com/huotaihe) |
141 |
| -1. [axeon](http://github.com/axeon) |
142 |
| -1. [dxwts (xuewu)](http://github.com/dxwts) |
143 |
| -1. [Mkluas (Mklaus)](http://github.com/Mkluas) |
144 |
| -1. [CodeIdeal (康阳)](http://github.com/CodeIdeal) |
145 |
| -1. [leeis (IOMan)](http://github.com/leeis) |
146 |
| -1. [lichenliang666 (李晨亮)](http://github.com/lichenliang666) |
147 |
| -1. [627535195](http://github.com/627535195) |
148 |
| -1. [ztmark (Mark)](http://github.com/ztmark) |
149 |
| -1. [gtyang](http://github.com/gtyang) |
150 |
| -1. [scott-z (scott)](http://github.com/scott-z) |
151 |
| -1. [borisbao (Boris)](http://github.com/borisbao) |
152 |
| -1. [qsjia (QSJia)](http://github.com/qsjia) |
153 |
| -1. [webcreazy (webcreazy)](http://github.com/webcreazy) |
154 |
| -1. [TonyLuo (Tony)](http://github.com/TonyLuo) |
155 |
| -1. [cwivan (鱼丸Cwivan)](http://github.com/cwivan) |
156 |
| -1. [biggates (Xiaoyu Guo)](http://github.com/biggates) |
0 commit comments