智慧保安后台管理-验收版本
tangzy
2021-11-25 40e9e3fd5842633b9315e1f0ae5c9ea6bfd11294
1.许可
1 files modified
4 ■■■■ changed files
src/main/java/org/springblade/modules/equipage/controller/CarController.java 4 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/equipage/controller/CarController.java
@@ -209,13 +209,13 @@
        csvurl = null;
        List<String> allString = new ArrayList<>();
        DowloadZipUtil dowloadZipUtil = new DowloadZipUtil();
        File file = dowloadZipUtil.downloadFile(fileUrl, "/usr/local/nginx/dist/enterprises/car");
        File file = dowloadZipUtil.downloadFile(fileUrl, "E:\\nginx-1.18.0\\dist");
        //文件名
        String name = file.getName();
        String substring = name.substring(0, name.length() - 4);
        //解压数据
        FileZip fileZip = new FileZip();
        fileZip.ZipUncompress("/usr/local/nginx/dist/enterprises/car" + substring + ".zip", "/usr/local/nginx/dist/enterprises/car");
        fileZip.ZipUncompress("E:\\nginx-1.18.0\\dist" + substring + ".zip", "E:\\nginx-1.18.0\\dist");
        csvurl = substring + ".csv";
    }
    /**