Commit 8c551ad0 authored by 赵啸非's avatar 赵啸非

修改登录鉴权时间

parent c6b3eac6
......@@ -104,16 +104,18 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
throw new AppException("请上传项目工程文件!");
}
callScript("tar -zvxf "+sourcePath +" -C "+setupProjectEntity.getProjectPath(),"4");
// InputStream inputStream = FileUtil.getInputStream(file);
///Hutoo.unGzip(inputStream, setupProjectEntity.getProjectPath());
//Hutool
try {
/* try {
ZipUtils.extractTarGZ(file, setupProjectEntity.getProjectPath());
} catch (IOException e) {
log.error("解压失败!{}", e.getMessage());
}
}*/
// ZipUtils.unGzip(inputStream, setupProjectEntity.getProjectPath());
String publicPath = setupProjectEntity.getProjectPath() + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getValue();
......
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