oauthapi 修改 新增用户身份授权

This commit is contained in:
jinyu committed 2015-07-16 13:19:16 +08:00
1 parent ea539fdedd
commit ba5d2da3a1
6 files changed
+77 -29

No files matched your search

@@ -101,8 +101,7 @@ public class ConfigUtil {
public static WeixinAccount getWeixinAccount() {
WeixinAccount account = null;
try {
String text = getValue("account");
account = JSON.parseObject(text, WeixinAccount.class);
account = JSON.parseObject(getValue("account"), WeixinAccount.class);
} catch (MissingResourceException e) {
System.err
.println("'account' key not found in weixin4j.properties file.");