update md

This commit is contained in:
jinyu 2015-05-17 16:00:21 +08:00
parent 5c9cc10da5
commit 6b2b40eee7
3 changed files with 24 additions and 2 deletions

View File

@ -41,6 +41,13 @@ weixin4j-mp
如何使用
--------
0.maven依赖(1.4,2015-05-16 released)
<dependency>
<groupId>com.foxinmy</groupId>
<artifactId>weixin4j-mp</artifactId>
<version>1.4</version>
</dependency>
1.需新增或拷贝`weixin.properties`文件到项目的`classpath`
weixin.properties说明

View File

@ -25,6 +25,13 @@ weixin4j-qy
如何使用
--------
0.maven依赖(1.4,2015-04-29 released)
<dependency>
<groupId>com.foxinmy</groupId>
<artifactId>weixin4j-qy</artifactId>
<version>1.4</version>
</dependency>
1.需新增或拷贝`weixin.properties`文件到项目的`classpath`
weixin.properties说明

View File

@ -14,7 +14,16 @@ weixin4j-server
如何使用
-------
编写一个简单的服务启动类
###maven依赖
微信公众平台API(1.0.0,2015-05-16 released)
<dependency>
<groupId>com.foxinmy</groupId>
<artifactId>weixin4j-server</artifactId>
<version>1.0.0</version>
</dependency>
###编写服务启动类
明文模式并总是调试输出微信请求信息的服务启动类.
public class MessageServerStartup{
public static void main(String[] args) {
@ -22,7 +31,6 @@ weixin4j-server
DebugMessageHandler.global).startup();
}
}
以上代码就会启动一个适用于`明文模式`并总是调试输出微信请求信息的消息服务.
密文模式的服务启动类