Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
00ddf7f9
Commit
00ddf7f9
authored
Oct 08, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'base-modify' of
http://113.105.137.151:22280/youjj/cloud-platform
into base-modify
parents
8405ad64
141313ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ActivityShowController.java
...fc/platform/summit/controller/ActivityShowController.java
+1
-1
UploadZipServiceImpl.java
...platform/universal/service/impl/UploadZipServiceImpl.java
+5
-1
No files found.
xx-summit/xx-summit-server/src/main/java/com/xxfc/platform/summit/controller/ActivityShowController.java
View file @
00ddf7f9
...
...
@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping
(
"/activityShow"
)
public
class
ActivityShowController
extends
BaseController
<
ActivityShowBiz
,
ActivityShow
>
{
@GetMapping
(
"/one/{activityId}"
)
@GetMapping
(
"/
app/unauth/
one/{activityId}"
)
public
ObjectRestResponse
getOne
(
@PathVariable
Integer
activityId
){
return
ObjectRestResponse
.
succ
(
baseBiz
.
getOne
(
activityId
));
}
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/service/impl/UploadZipServiceImpl.java
View file @
00ddf7f9
package
com
.
xxfc
.
platform
.
universal
.
service
.
impl
;
import
com.alibaba.druid.sql.visitor.functions.If
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.util.process.ResultCode
;
import
com.xxfc.platform.universal.constant.enumerate.FileTypeEnum
;
...
...
@@ -66,7 +67,10 @@ public class UploadZipServiceImpl implements UploadZipService {
File
dir
=
new
File
(
destPath
);
dir
.
mkdir
();
}
else
{
File
targetFile
=
new
File
(
destPath
+
File
.
separator
+
entry
.
getName
());
if
(
targetFile
.
getParentFile
().
exists
()){
}
}
...
...
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