wechat-spring-boot-starter

WeChat Tools AutoConfiguration

License

License

Categories

Categories

Spring Boot Container Microservices
GroupId

GroupId

cn.boommanpro
ArtifactId

ArtifactId

wechat-spring-boot-starter
Last Version

Last Version

1.0.1.RELEASE
Release Date

Release Date

Type

Type

jar
Description

Description

wechat-spring-boot-starter
WeChat Tools AutoConfiguration
Project URL

Project URL

https://github.com/BoomManPro/wechat-spring-boot-starter
Source Code Management

Source Code Management

https://github.com/BoomManPro/wechat-spring-boot-starter

Download wechat-spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/cn.boommanpro/wechat-spring-boot-starter/ -->
<dependency>
    <groupId>cn.boommanpro</groupId>
    <artifactId>wechat-spring-boot-starter</artifactId>
    <version>1.0.1.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/cn.boommanpro/wechat-spring-boot-starter/
implementation 'cn.boommanpro:wechat-spring-boot-starter:1.0.1.RELEASE'
// https://jarcasting.com/artifacts/cn.boommanpro/wechat-spring-boot-starter/
implementation ("cn.boommanpro:wechat-spring-boot-starter:1.0.1.RELEASE")
'cn.boommanpro:wechat-spring-boot-starter:jar:1.0.1.RELEASE'
<dependency org="cn.boommanpro" name="wechat-spring-boot-starter" rev="1.0.1.RELEASE">
  <artifact name="wechat-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='cn.boommanpro', module='wechat-spring-boot-starter', version='1.0.1.RELEASE')
)
libraryDependencies += "cn.boommanpro" % "wechat-spring-boot-starter" % "1.0.1.RELEASE"
[cn.boommanpro/wechat-spring-boot-starter "1.0.1.RELEASE"]

Dependencies

compile (6)

Group / Artifact Type Version
org.springframework.boot : spring-boot-configuration-processor jar 2.0.0.RELEASE
org.springframework.boot : spring-boot-starter-log4j2 Optional jar 2.0.0.RELEASE
org.springframework.boot : spring-boot-autoconfigure Optional jar 2.0.0.RELEASE
org.projectlombok : lombok Optional jar 1.18.2
com.alibaba : fastjson Optional jar 1.2.47
org.bouncycastle : bcprov-jdk15on jar 1.55

Project Modules

There are no modules declared in this project.

在spring boot 项目中配置 application.properties

  1. 导入相关jar
<dependency>
  <groupId>cn.boommanpro</groupId>
  <artifactId>wechat-spring-boot-starter</artifactId>
  <version>1.0.1.RELEASE</version>
</dependency>
  1. 配置微信参数: on application.properties

#小程序ID
wx.appId=

#小程序密钥
wx.secret=

3.开启相应注解 @EnableWechat

4.马上使用它

@Autowired
private WeChatService weChatService;

有任何问题可以提出

if you have any question ,please pull issue or contact my mail [email protected]

写在最后

如果该项目帮到了你,请作者喝杯咖啡哈!

上传自己的jar到Maven中央仓库

如何将自己的jar包上传到Maven仓库

使用: mvn clean deploy

不能使用 Lifecycle deploy

原因等待探究哈

一定要装gpg 并且 发布自身密匙到服务端

教程稍后写

Versions

Version
1.0.1.RELEASE
1.0.0.RELEASE