Skip to content

Commit

Permalink
Wechat 增加返回 app 信息方法
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyunhe committed Mar 27, 2017
1 parent 47c4419 commit a717553
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 14 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.fengyunhe</groupId>
<artifactId>fengyunhe-wechat-mp</artifactId>
<version>1.2.4-SNAPSHOT</version>
<version>1.3.1-SNAPSHOT</version>
<packaging>jar</packaging>
<description>微信公众号SDK</description>
<properties>
Expand Down Expand Up @@ -44,6 +44,12 @@
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.2</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
Expand Down Expand Up @@ -80,6 +86,12 @@
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.3.6</version>
<exclusions>
<exclusion>
<artifactId>commons-codec</artifactId>
<groupId>commons-codec</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down Expand Up @@ -186,4 +198,4 @@
</snapshotRepository>
</distributionManagement>

</project>
</project>
4 changes: 4 additions & 0 deletions src/main/java/com/fengyunhe/wechat/mp/api/WeChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ public void setEventHandler(EventHandler eventHandler) {
this.eventHandler = eventHandler;
}

public WeChatApp getApp() {
return app;
}

/**
* 根据接收到用户消息进行处理
*
Expand Down

0 comments on commit a717553

Please sign in to comment.