Skip to content

HuangKBAaron/weixin4j

 
 

Repository files navigation

weixin4j

微信开发工具包

weixin4j是一个用java编写针对微信开发的工具包,包含weixin4j-mp(微信公众平台API)、weixin4j-qy(微信企业号API)以及weixin4j-server(微信回调消息服务器)三个工程.

功能列表

  • weixin4j-base

微信支付(刷卡/扫码/公众号/现金红包/企业付款)

  • weixin4j-mp

    公众平台API封装

  • weixin4j-qy

    企业号API封装

  • weixin4j-server

    netty服务器&消息分发

如何获取

###1.maven依赖 微信公众平台API(1.6.2,2015-09-27 released)

<dependency>
    <groupId>com.foxinmy</groupId>
    <artifactId>weixin4j-mp</artifactId>
    <version>1.6.2</version>
</dependency>

微信企业号API(1.6.2,2015-09-27 released)

<dependency>
    <groupId>com.foxinmy</groupId>
    <artifactId>weixin4j-qy</artifactId>
    <version>1.6.2</version>
</dependency>

微信回调消息服务器(1.1.2,2015-09-21 released)

<dependency>
    <groupId>com.foxinmy</groupId>
    <artifactId>weixin4j-server</artifactId>
    <version>1.1.2</version>
</dependency>

以上依赖如果出现Missing artifact错误 请尝试在eclipse里这么做

  • 进入 Window > Show View > Other > Maven Repositories 展开 Global Repositories 在group或者central上右键执行update index 操作

  • 或者进入 Windows > Preferences > Maven 选中 Download repository index updates on startup 即可

###2.直接下载jar包

###3.从源码打包

git clone&mvn package

接下来

  • 公众号第三方服务应用

  • 硬件设备 & 摇一摇周边

  • 微信小店&门店

  • 微信卡券

About

(微信开发工具包)weixin sdk for java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.8%
  • Shell 0.2%