Commit edd288da authored by 赵啸非's avatar 赵啸非

修改登录鉴权时间

parent 2b06bc8b
......@@ -88,7 +88,7 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
//读取本工程的资源文件 检测压缩包类型
//String sourcePath = "/project/" + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getDesc() + "/" + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getValue() + ".tar.gz";
//InputStream inputStream = this.getClass().getResourceAsStream(sourcePath);
String sourcePath = this.publishPath+"/setup-project-manager/project/" + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getDesc() + "/" + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getValue() + ".tar.gz";
String sourcePath = this.publishPath+"/temp/project/" + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getDesc() + "/" + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getValue() + ".tar.gz";
File file = new File(sourcePath);
log.info("文件存在:{}", file.exists());
......@@ -282,7 +282,7 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
log.info("originalFilename:{}", originalFilename);
//解压目录,为当前工程目录 /home/publish/setup-manager/project/
String projectPath = this.publishPath + "/setup-project-manager/project/";
String projectPath = this.publishPath + "/temp/project/";
boolean exist = FileUtil.exist(projectPath);
if (!exist) {
......
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