Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setup-manager
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
setup-manager
Commits
8c551ad0
Commit
8c551ad0
authored
Oct 29, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改登录鉴权时间
parent
c6b3eac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
setup-project-manager/src/main/java/com/mortals/xhx/module/setup/service/impl/SetupProjectServiceImpl.java
...hx/module/setup/service/impl/SetupProjectServiceImpl.java
+4
-2
No files found.
setup-project-manager/src/main/java/com/mortals/xhx/module/setup/service/impl/SetupProjectServiceImpl.java
View file @
8c551ad0
...
@@ -104,16 +104,18 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
...
@@ -104,16 +104,18 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
throw
new
AppException
(
"请上传项目工程文件!"
);
throw
new
AppException
(
"请上传项目工程文件!"
);
}
}
callScript
(
"tar -zvxf "
+
sourcePath
+
" -C "
+
setupProjectEntity
.
getProjectPath
(),
"4"
);
// InputStream inputStream = FileUtil.getInputStream(file);
// InputStream inputStream = FileUtil.getInputStream(file);
///Hutoo.unGzip(inputStream, setupProjectEntity.getProjectPath());
///Hutoo.unGzip(inputStream, setupProjectEntity.getProjectPath());
//Hutool
//Hutool
try
{
/*
try {
ZipUtils.extractTarGZ(file, setupProjectEntity.getProjectPath());
ZipUtils.extractTarGZ(file, setupProjectEntity.getProjectPath());
} catch (IOException e) {
} catch (IOException e) {
log.error("解压失败!{}", e.getMessage());
log.error("解压失败!{}", e.getMessage());
}
}
*/
// 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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment