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
ed806017
Commit
ed806017
authored
Jan 07, 2019
by
songxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预习课自定义截取视频封面图
parent
3df84c28
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
ConvertQueueDto.java
...main/java/com/pcloud/common/core/dto/ConvertQueueDto.java
+18
-2
OssUtils.java
...rc/main/java/com/pcloud/common/utils/aliyun/OssUtils.java
+1
-0
No files found.
pcloud-common-core/src/main/java/com/pcloud/common/core/dto/ConvertQueueDto.java
View file @
ed806017
...
@@ -9,6 +9,7 @@ import java.io.Serializable;
...
@@ -9,6 +9,7 @@ import java.io.Serializable;
/**
/**
* @描述:
* @描述:
*
* @作者:songx
* @作者:songx
* @创建时间:2017年2月27日,上午11:23:29 @版本:1.0
* @创建时间:2017年2月27日,上午11:23:29 @版本:1.0
*/
*/
...
@@ -41,6 +42,11 @@ public class ConvertQueueDto implements Serializable {
...
@@ -41,6 +42,11 @@ public class ConvertQueueDto implements Serializable {
private
String
customType
;
private
String
customType
;
/**
/**
* 视频截图时间点
*/
private
int
snapshotTime
;
/**
* 来源标识
* 来源标识
*/
*/
private
Long
fromId
;
private
Long
fromId
;
...
@@ -90,6 +96,14 @@ public class ConvertQueueDto implements Serializable {
...
@@ -90,6 +96,14 @@ public class ConvertQueueDto implements Serializable {
*/
*/
private
String
m3u8Url
;
private
String
m3u8Url
;
public
int
getSnapshotTime
()
{
return
snapshotTime
;
}
public
void
setSnapshotTime
(
int
snapshotTime
)
{
this
.
snapshotTime
=
snapshotTime
;
}
public
String
getCustomType
()
{
public
String
getCustomType
()
{
return
customType
;
return
customType
;
}
}
...
@@ -186,7 +200,8 @@ public class ConvertQueueDto implements Serializable {
...
@@ -186,7 +200,8 @@ public class ConvertQueueDto implements Serializable {
}
}
/**
/**
* @param fileUrl The fileUrl to set.
* @param fileUrl
* The fileUrl to set.
*/
*/
public
void
setFileUrl
(
String
fileUrl
)
{
public
void
setFileUrl
(
String
fileUrl
)
{
this
.
fileUrl
=
fileUrl
;
this
.
fileUrl
=
fileUrl
;
...
@@ -200,7 +215,8 @@ public class ConvertQueueDto implements Serializable {
...
@@ -200,7 +215,8 @@ public class ConvertQueueDto implements Serializable {
}
}
/**
/**
* @param fileSize The fileSize to set.
* @param fileSize
* The fileSize to set.
*/
*/
public
void
setFileSize
(
Long
fileSize
)
{
public
void
setFileSize
(
Long
fileSize
)
{
this
.
fileSize
=
fileSize
;
this
.
fileSize
=
fileSize
;
...
...
pcloud-common/src/main/java/com/pcloud/common/utils/aliyun/OssUtils.java
View file @
ed806017
...
@@ -1178,6 +1178,7 @@ public class OssUtils {
...
@@ -1178,6 +1178,7 @@ public class OssUtils {
}
else
{
}
else
{
uploadResultInfo
.
setSize
(
size
);
uploadResultInfo
.
setSize
(
size
);
}
}
uploadResultInfo
.
setFileName
(
FileUtils
.
getFileName
(
objectKey
));
uploadResultInfo
.
setFileId
(
"ali"
);
uploadResultInfo
.
setFileId
(
"ali"
);
uploadResultInfo
.
setFlag
(
true
);
uploadResultInfo
.
setFlag
(
true
);
uploadResultInfo
.
setFinish
(
true
);
uploadResultInfo
.
setFinish
(
true
);
...
...
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