新增冲正被扫支付接口

This commit is contained in:
jy.hu
2014-11-17 20:57:38 +08:00
parent 6e70112b66
commit f4aec9dc99
16 changed files with 375 additions and 150 deletions
@@ -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() {