新增冲正和被扫支付接口

This commit is contained in:
jy.hu committed 2014-11-17 20:57:38 +08:00
1 parent 6e70112b66
commit f4aec9dc99
16 files changed
+375 -150

No files matched your search

@@ -17,10 +17,10 @@ import com.foxinmy.weixin4j.model.WeixinAccount;
* @see
*/
public class ConfigUtil {
private static ResourceBundle weixin;
private final static ResourceBundle weixinBundle;
static {
weixin = ResourceBundle.getBundle("weixin");
Set<String> keySet = weixin.keySet();
weixinBundle = ResourceBundle.getBundle("weixin");
Set<String> keySet = weixinBundle.keySet();
for (String key : keySet) {
if (!key.endsWith("_path")) {
continue;
@@ -30,7 +30,7 @@ public class ConfigUtil {
}
public static String getValue(String key) {
return weixin.getString(key);
return weixinBundle.getString(key);
}
public static WeixinAccount getWeixinAccount() {