update md
This commit is contained in:
parent
5812afe0f1
commit
25d9db3671
@ -91,12 +91,9 @@ weixin.properties说明
|
||||
// weixinProxy = new WeixinProxy(weixinAccount);
|
||||
weixinProxy.getUser(openId);
|
||||
|
||||
3.针对`token`存储有两种方案,`File存储`/`Redis存储`,当然也可自己实现`TokenHolder`,默认使用文件(xml)的方式保存token,如果环境中支持`redis`,建议使用`RedisTokenHolder`.
|
||||
|
||||
WeixinProxy weixinProxy = new WeixinProxy(new RedisTokenHolder());
|
||||
// weixinProxy = new WeixinProxy(new RedisTokenHolder(weixinAccount));
|
||||
|
||||
4.`mvn package`.
|
||||
> 针对`token`存储有两种方案,`File存储`/`Redis存储`,当然也可自己实现`TokenHolder`,默认使用文件(xml)的方式保存token,如果环境中支持`redis`,建议使用`RedisTokenHolder`.
|
||||
> WeixinProxy weixinProxy = new WeixinProxy(new RedisTokenHolder());
|
||||
> // weixinProxy = new WeixinProxy(new RedisTokenHolder(weixinAccount));
|
||||
|
||||
[更新LOG](./CHANGE.md)
|
||||
----------------------
|
||||
@ -58,7 +58,7 @@ weixin4j-server
|
||||
}
|
||||
}
|
||||
}
|
||||
编写一个拦截器
|
||||
使用拦截器处理消息请求的启动类
|
||||
|
||||
public static void main(String[] args) {
|
||||
// 拦截所有请求
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user