Commit 88641bf8 authored by 赵啸非's avatar 赵啸非

修改登录鉴权时间

parent fb48d268
...@@ -104,7 +104,12 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec ...@@ -104,7 +104,12 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
throw new AppException("请上传项目工程文件!"); throw new AppException("请上传项目工程文件!");
} }
callScript("tar -zvxf "+sourcePath +" -C "+setupProjectEntity.getProjectPath(),"4"); String shell = "tar -zvxf " + sourcePath + " -C " + setupProjectEntity.getProjectPath();
log.info("解压命令:{}", shell);
String str = RuntimeUtil.execForStr(shell);
log.info("解压命令结果:{}", str);
// InputStream inputStream = FileUtil.getInputStream(file); // InputStream inputStream = FileUtil.getInputStream(file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment