update md

This commit is contained in:
jinyu 2015-05-17 16:13:51 +08:00
parent 5812afe0f1
commit 25d9db3671
2 changed files with 4 additions and 7 deletions

View File

@ -91,12 +91,9 @@ weixin.properties说明
// weixinProxy = new WeixinProxy(weixinAccount);
weixinProxy.getUser(openId);
3.针对`token`存储有两种方案,`File存储`/`Redis存储`,当然也可自己实现`TokenHolder`,默认使用文件(xml)的方式保存token,如果环境中支持`redis`,建议使用`RedisTokenHolder`.
> 针对`token`存储有两种方案,`File存储`/`Redis存储`,当然也可自己实现`TokenHolder`,默认使用文件(xml)的方式保存token,如果环境中支持`redis`,建议使用`RedisTokenHolder`.
> WeixinProxy weixinProxy = new WeixinProxy(new RedisTokenHolder());
> // weixinProxy = new WeixinProxy(new RedisTokenHolder(weixinAccount));
WeixinProxy weixinProxy = new WeixinProxy(new RedisTokenHolder());
// weixinProxy = new WeixinProxy(new RedisTokenHolder(weixinAccount));
4.`mvn package`.
[更新LOG](./CHANGE.md)
----------------------

View File

@ -58,7 +58,7 @@ weixin4j-server
}
}
}
编写一个拦截器
使用拦截器处理消息请求的启动类
public static void main(String[] args) {
// 拦截所有请求