1
0
mirror of synced 2026-10-26 10:16:15 +08:00

修改公众号文字变成企业号

This commit is contained in:
Daniel Qian
2014-10-21 18:59:09 +08:00
parent 93f8726029
commit 7becf8e4f2
4 changed files with 6 additions and 6 deletions

View File

@@ -41,9 +41,9 @@ weixin-java-tools
## Hello World
```java
WxConfigStorage config = new WxInMemoryConfigStorage();
config.setAppId(...); // 设置微信公众号的appid
config.setSecret(...); // 设置微信公众号的app corpSecret
config.setToken(...); // 设置微信公众号的token
config.setAppId(...); // 设置微信企业号的appid
config.setSecret(...); // 设置微信企业号的app corpSecret
config.setToken(...); // 设置微信企业号的token
WxServiceImpl wxService = new WxServiceImpl();
wxService.setWxConfigStorage(config);