update md
This commit is contained in:
parent
25d9db3671
commit
ad9f91bbd3
@ -92,6 +92,7 @@ weixin.properties说明
|
|||||||
weixinProxy.getUser(openId);
|
weixinProxy.getUser(openId);
|
||||||
|
|
||||||
> 针对`token`存储有两种方案,`File存储`/`Redis存储`,当然也可自己实现`TokenHolder`,默认使用文件(xml)的方式保存token,如果环境中支持`redis`,建议使用`RedisTokenHolder`.
|
> 针对`token`存储有两种方案,`File存储`/`Redis存储`,当然也可自己实现`TokenHolder`,默认使用文件(xml)的方式保存token,如果环境中支持`redis`,建议使用`RedisTokenHolder`.
|
||||||
|
>
|
||||||
> WeixinProxy weixinProxy = new WeixinProxy(new RedisTokenHolder());
|
> WeixinProxy weixinProxy = new WeixinProxy(new RedisTokenHolder());
|
||||||
> // weixinProxy = new WeixinProxy(new RedisTokenHolder(weixinAccount));
|
> // weixinProxy = new WeixinProxy(new RedisTokenHolder(weixinAccount));
|
||||||
|
|
||||||
|
|||||||
@ -58,12 +58,10 @@ weixin.properties说明
|
|||||||
// weixinProxy = new WeixinProxy(weixinAccount);
|
// weixinProxy = new WeixinProxy(weixinAccount);
|
||||||
weixinProxy.getUser(userid);
|
weixinProxy.getUser(userid);
|
||||||
|
|
||||||
3.针对`token`存储有两种方案,`File存储`/`Redis存储`,当然也可自己实现`TokenHolder`,默认使用文件(xml)的方式保存token,如果环境中支持`redis`,建议使用`RedisTokenHolder`.
|
> 针对`token`存储有两种方案,`File存储`/`Redis存储`,当然也可自己实现`TokenHolder`,默认使用文件(xml)的方式保存token,如果环境中支持`redis`,建议使用`RedisTokenHolder`.
|
||||||
|
>
|
||||||
WeixinProxy weixinProxy = new WeixinProxy(new RedisTokenHolder());
|
> WeixinProxy weixinProxy = new WeixinProxy(new RedisTokenHolder());
|
||||||
// weixinProxy = new WeixinProxy(new RedisTokenHolder(weixinAccount));
|
> // weixinProxy = new WeixinProxy(new RedisTokenHolder(weixinAccount));
|
||||||
|
|
||||||
4.`mvn package`.
|
|
||||||
|
|
||||||
[更新LOG](./CHANGE.md)
|
[更新LOG](./CHANGE.md)
|
||||||
----------------------
|
----------------------
|
||||||
Loading…
x
Reference in New Issue
Block a user