lyhzzz 4 月之前
父节点
当前提交
b61f451c24
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/fusion/common/util/ShellUtil.java

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

@@ -112,7 +112,7 @@ public class ShellUtil {
 
     public static void unZip(String zipPath, String dataPath) {
         log.info("解压zip开始");
-        String command = "unzip -O GBK/GB18030CP936 " + zipPath + " -d " + dataPath;
+        String command = "unzip -o  " + zipPath + " -d " + dataPath;
         execCmd(command);
         log.info("解压zip完毕:" + command);
     }