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