diff --git a/PublicComponent/src/main/java/com/arialyy/aria/util/DbDataHelper.java b/PublicComponent/src/main/java/com/arialyy/aria/util/DbDataHelper.java index bf4d306e..8a2fabf1 100644 --- a/PublicComponent/src/main/java/com/arialyy/aria/util/DbDataHelper.java +++ b/PublicComponent/src/main/java/com/arialyy/aria/util/DbDataHelper.java @@ -107,8 +107,8 @@ public class DbDataHelper { int lastIndex = url.lastIndexOf(File.separator); //去除url末尾携带的的参数 int endIndex = url.lastIndexOf("?"); - if(endIndex<0)endIndex=url.length(); + if(endIndex<0||endIndex