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
71bd6b5c
Commit
71bd6b5c
authored
Oct 29, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改登录鉴权时间
parent
25f2a377
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
setup-project-manager/src/main/java/com/mortals/xhx/module/setup/service/impl/SetupProjectServiceImpl.java
...hx/module/setup/service/impl/SetupProjectServiceImpl.java
+3
-3
No files found.
setup-project-manager/src/main/java/com/mortals/xhx/module/setup/service/impl/SetupProjectServiceImpl.java
View file @
71bd6b5c
...
@@ -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");
...
...
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