修改参数导入报错
This commit is contained in:
+5
-2
@@ -249,8 +249,11 @@ public class FileUnZip {
|
||||
String filenameOne = "";
|
||||
String filenameTwo = "";
|
||||
if(filename.contains("/")){
|
||||
filenameOne = filename.split("/")[0];
|
||||
filenameTwo = filename.split("/")[1];
|
||||
String[] strs = filename.split("/");
|
||||
if(strs.length >= 2){
|
||||
filenameOne = strs[0];
|
||||
filenameTwo = strs[1];
|
||||
}
|
||||
}
|
||||
List<File> resultlist = new ArrayList<>();
|
||||
if (StringUtil.isNotEmpty(path)){
|
||||
|
||||
Reference in New Issue
Block a user