Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
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
徐少华
midjourney-proxy
Commits
5ccb8ba8
Commit
5ccb8ba8
authored
Apr 25, 2021
by
zhangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[none] 压缩资源包增加目录处理
parent
4f4da885
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
CompressDTO.java
...mmon/src/main/java/com/pcloud/common/dto/CompressDTO.java
+11
-0
CompressUtils.java
.../main/java/com/pcloud/common/utils/zip/CompressUtils.java
+0
-0
No files found.
pcloud-common/src/main/java/com/pcloud/common/dto/CompressDTO.java
View file @
5ccb8ba8
...
...
@@ -59,6 +59,9 @@ public class CompressDTO extends BaseDto {
@ApiModelProperty
(
name
=
"文件大小"
,
dataType
=
"Long"
)
private
long
fileSize
;
@ApiModelProperty
(
name
=
"目录名称"
,
dataType
=
"String"
)
private
String
dirName
;
public
String
getFileName
()
{
return
fileName
;
}
...
...
@@ -83,6 +86,14 @@ public class CompressDTO extends BaseDto {
this
.
fileSize
=
fileSize
;
}
public
String
getDirName
()
{
return
dirName
;
}
public
void
setDirName
(
String
dirName
)
{
this
.
dirName
=
dirName
;
}
@Override
public
String
toString
()
{
return
"CompressFileDTO "
+
JSON
.
toJSONString
(
this
);
...
...
pcloud-common/src/main/java/com/pcloud/common/utils/zip/CompressUtils.java
View file @
5ccb8ba8
This diff is collapsed.
Click to expand it.
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