Skip to content

微信和钉钉开发Java SDK,主要提供微信公众号、企业微信、钉钉、微信小程序、支付的JAVA封装,降低集成难度,让API变简单

License

Notifications You must be signed in to change notification settings

jeecgboot/weixin4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weixin4j | 微信和钉钉开发SDK

最新版本: 2.0.0(发布日期:2025-02-11)

AUR GitHub stars GitHub forks

WeiXin4j 项目说明

微信和钉钉开发JAVA SDK,主要提供微信公众号、企业微信、钉钉、微信小程序、支付的JAVA封装,降低集成难度,让API变简单! 还支持支付宝生活号和微博SDK。

你可以基于她,快速的傻瓜化的进行微信、钉钉和微博开发。

weixin4j 快速集成

在pom.xml 添加 weixin4j 依赖
<dependency>
	<groupId>org.jeecgframework</groupId>
	<artifactId>weixin4j</artifactId>
	<version>2.0.0</version>
</dependency>

AIGC 接口

  • 语音转文本接口
  • 翻译接口

单元测试API

public static void main(String[] args) {
	try {
		String accesstoken = "?";
		String user_openid = "o8QKAuAyDxxfyuBZ9ugSMR4SR5XQ";
		JwUserAPI.getWxuser(accesstoken, user_openid);
	} catch (WexinReqException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	
}