فهرست منبع

下载于hash

lyhzzz 3 ماه پیش
والد
کامیت
84d41310e0
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

@@ -120,7 +120,7 @@ public class ShellUtil {
 
     public static void zip(String zipPath, String dataPath) {
         log.info("打包zip开始");
-        String command = "cd " + dataPath + " &&zip -r -m " + zipPath + "  " ;
+        String command = "cd " + dataPath + " &&zip -r -m " + zipPath + " * " ;
         execCmd(command);
         log.info("打包zip完毕:" + command);
     }