From 999d8a80d9a1c1f20033c29e7e2a08951766bee8 Mon Sep 17 00:00:00 2001
From: fengxiang <fengxiang@blit.7drlb>
Date: Mon, 13 Nov 2017 16:16:34 +0800
Subject: [PATCH] Merge branch 'master' of http://fengxiang@blit.7drlb.com:8888/r/task.git

---
 src/main/java/com/moral/monitor/util/ResourceUtil.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/moral/monitor/util/ResourceUtil.java b/src/main/java/com/moral/monitor/util/ResourceUtil.java
index 35a3f47..1c0ae88 100644
--- a/src/main/java/com/moral/monitor/util/ResourceUtil.java
+++ b/src/main/java/com/moral/monitor/util/ResourceUtil.java
@@ -6,7 +6,7 @@
  * Created by a on 2017/7/4.
  */
 public class ResourceUtil {
-    private static final ResourceBundle bundle = java.util.ResourceBundle.getBundle("sysConfig");
+    private static final ResourceBundle bundle = java.util.ResourceBundle.getBundle("system/sysConfig");
     /**
      * ������������������������
      *
@@ -24,4 +24,15 @@
     public static String getRandCodeType() {
         return bundle.getString("randCodeType");
     }
+    
+    
+	public static String getValue(String key){
+		return bundle.getString(key);
+	}
+
+	public static String[] getArrValue(String key){
+		String string = bundle.getString(key);
+		return string.split(",");
+	}
+
 }

--
Gitblit v1.8.0