|
@@ -95,9 +95,10 @@ public class InnerApiServiceImpl implements IInnerApiService {
|
|
String command = "unrar e " + dataSource + file.getOriginalFilename() + " " + dataSource;
|
|
String command = "unrar e " + dataSource + file.getOriginalFilename() + " " + dataSource;
|
|
RuntimeUtil.exec(command);
|
|
RuntimeUtil.exec(command);
|
|
log.info("解压rar完毕:" + command);
|
|
log.info("解压rar完毕:" + command);
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ Thread.sleep(2000L);
|
|
|
|
+
|
|
//删除压缩包
|
|
//删除压缩包
|
|
// new File(dataSource + file.getOriginalFilename()).delete();
|
|
// new File(dataSource + file.getOriginalFilename()).delete();
|
|
|
|
|