Commit 71bd6b5c authored by 赵啸非's avatar 赵啸非

修改登录鉴权时间

parent 25f2a377
...@@ -97,9 +97,9 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec ...@@ -97,9 +97,9 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
throw new AppException("请上传项目工程文件!"); throw new AppException("请上传项目工程文件!");
} }
InputStream inputStream = FileUtil.getInputStream(file); //InputStream inputStream = FileUtil.getInputStream(file);
ZipUtils.unGzip(inputStream, setupProjectEntity.getProjectPath()); // ZipUtils.unGzip(inputStream, setupProjectEntity.getProjectPath());
String publicPath = setupProjectEntity.getProjectPath() + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getValue(); String publicPath = setupProjectEntity.getProjectPath() + ProductDisEnum.getByValue(setupProjectEntity.getProjectCode()).getValue();
...@@ -257,7 +257,7 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec ...@@ -257,7 +257,7 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
File dir = null; File dir = null;
if (workspace[0] != null) { if (workspace[0] != null) {
dir = new File(workspace[0]); dir = new File(workspace[0]);
System.out.println(workspace[0]); log.info(workspace[0]);
} }
String[] evnp = {"val=2", "call=Bash Shell"}; String[] evnp = {"val=2", "call=Bash Shell"};
// Process process = Runtime.getRuntime().exec("su"); // Process process = Runtime.getRuntime().exec("su");
......
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