Commit ed806017 by songxiang

预习课自定义截取视频封面图

parent 3df84c28
...@@ -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;
......
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment