update md

This commit is contained in:
jinyu 2015-05-17 16:23:44 +08:00
parent ad9f91bbd3
commit c3d2465256
3 changed files with 4 additions and 2 deletions

View File

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

View File

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

View File

@ -26,7 +26,7 @@ import com.foxinmy.weixin4j.startup.WeixinServerBootstrap;
public class MessageServerStartup {
final String appid = "appid";
final String token = "开发者token";
final String token = "carsonliu13450438112";
final String aesKey = "AES密钥";
/**
@ -109,6 +109,6 @@ public class MessageServerStartup {
}
public static void main(String[] args) throws WeixinException {
new MessageServerStartup().test5();
new MessageServerStartup().test1();
}
}