lyhzzz 2 månader sedan
förälder
incheckning
d456d762ae
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/main/java/com/fdkankan/fusion/common/util/OBJToGLBUtil.java

+ 1 - 1
src/main/java/com/fdkankan/fusion/common/util/OBJToGLBUtil.java

@@ -93,7 +93,7 @@ public class OBJToGLBUtil {
             throw new BusinessException(ResultCode.UPLOAD_FILE_OBJ_ERROR);
         }
         LinkedHashSet<String> imgName = new LinkedHashSet<>();
-        if(allFile == null || allFile.length()<=0 ){
+        if(allFile == null  ){
             throw new BusinessException(ResultCode.UPLOAD_FILE_OBJ_ERROR);
         }
         File[] files = allFile.listFiles();