File[] resourceNameDirectoryArr;
        File[] resourceTypeDirectoryArr;
        File[] resourceFileArr;
        for (MultipartFile multipartFile : zipList) {
            file = FileUtils.getFile(multipartFile);
            String resourceNameDirectoryName = FileUtil.getName(file);
            if (!StrUtil.equals(FileTypeUtil.getType(file), "zip"))
                throw new BaseException(resourceNameDirectoryName + "格式不正确，请上传zip格式的文件");
            file = ZipUtil.unzip(file, Charset.forName(Constants.GBK));
            if (file.isDirectory()) {
                resourceNameDirectoryArr = file.listFiles();
                if (resourceNameDirectoryArr == null)
                    throw new BaseException(resourceNameDirectoryName + "文件为空");
                //遍历资源名称文件夹
                for (File resourceNameDirectory : resourceNameDirectoryArr) {
                    String resourceName = FileUtil.getName(resourceNameDirectory);
                    tempResourceNameList.add(resourceName);
                    if (resourceNameDirectory.isDirectory()) {
                        resourceTypeDirectoryArr = resourceNameDirectory.listFiles();
                        //遍历资源类型(全景图片、局部图片、视频)等文件
                        if (ArrayUtil.isNotEmpty(resourceTypeDirectoryArr))
                            for (File resourceTypeDirectory : resourceTypeDirectoryArr) {
                                String resourceTypeDirectoryName = FileUtil.getName(resourceTypeDirectory);
                                if (!RESOURCE_FILE_TYPE.contains(resourceTypeDirectoryName))
                                    throw new BaseException(resourceNameDirectoryName + "目录不正确");
                                if (resourceTypeDirectory.isDirectory()) {
                                    resourceFileArr = resourceTypeDirectory.listFiles();
                                    // 遍历图片、视频文件
                                    if (ArrayUtil.isNotEmpty(resourceFileArr)) {
                                        if (StrUtil.equalsAny(resourceTypeDirectoryName, "全景图片", "局部图片")) {
                                            for (File imgFile : resourceFileArr) {
                                                if (!IMG_TYPE.contains(FileTypeUtil.getType(imgFile)))
                                                    throw new BaseException(resourceNameDirectoryName + StrUtil.DASHED + resourceTypeDirectoryName + "的图片文件格式不正确，请上传" + String.join(StrUtil.COMMA, IMG_TYPE));
                                            }
                                        }
                                        if (StrUtil.equals(resourceTypeDirectoryName, "视频"))
                                            for (File videoFile : resourceFileArr) {
                                                if (!VIDEO_TYPE.contains(FileTypeUtil.getType(videoFile)))
                                                    throw new BaseException(resourceNameDirectoryName + StrUtil.DASHED + resourceTypeDirectoryName + "的视频文件格式不正确，请上传" + String.join(StrUtil.COMMA, VIDEO_TYPE));
                                            }
                                    }
                                } else
                                    throw new BaseException(resourceNameDirectoryName + "目录不正确");
                            }
                    } else
                        throw new BaseException(resourceNameDirectoryName + "目录不正确");
                }
            } else
                throw new BaseException(resourceNameDirectoryName + "目录不正确");
        }