diff --git a/pom.xml b/pom.xml
index 0ee9de5..00056c5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
4.0.0
com.yuandian.common
config
- 1.0.3-SNAPSHOT
+ 1.0.4-SNAPSHOT
jar
config
http://yuandian.com
diff --git a/src/main/java/com/yuandian/common/Config.java b/src/main/java/com/yuandian/common/Config.java
index c96fa95..18d47fb 100644
--- a/src/main/java/com/yuandian/common/Config.java
+++ b/src/main/java/com/yuandian/common/Config.java
@@ -6,6 +6,7 @@
*/
package com.yuandian.common;
+import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
@@ -135,29 +136,50 @@ public class Config {
* @param keys 获取的key值
* @return
*/
- public Object get(String... keys) {
- var cur = data;
- for (var i = 0; i < keys.length - 1; i++) {
+ public T get(Object... keys) {
+
+ Object cur = data;
+
+ for (var i = 0; i < keys.length; i++) {
var key = keys[i];
- cur = (Map) cur.get(key);
+
+ if(key.getClass() != String.class ) {
+ var opcur = (ArrayList