|
@@ -518,7 +518,7 @@ public class MaterialInfoController {
|
|
url = KuaishouInterfaceConstant.HTTPS_PREFIX + url;
|
|
url = KuaishouInterfaceConstant.HTTPS_PREFIX + url;
|
|
}
|
|
}
|
|
materialInfo.setUrl(url);
|
|
materialInfo.setUrl(url);
|
|
- materialInfo.setUpdateTime(new Date());
|
|
|
|
|
|
+ materialInfo.setCreateTime(new Date());
|
|
MaterialCutFrame cutFrame = materialCutFrameService.getCutFrameByCode(materialInfo.getCode());
|
|
MaterialCutFrame cutFrame = materialCutFrameService.getCutFrameByCode(materialInfo.getCode());
|
|
if (Check.isNull(cutFrame)) {
|
|
if (Check.isNull(cutFrame)) {
|
|
String videoUrl = URLDecoder.decode(url).replace("https://media-1301855440.cos.ap-chongqing.myqcloud.com/", "");
|
|
String videoUrl = URLDecoder.decode(url).replace("https://media-1301855440.cos.ap-chongqing.myqcloud.com/", "");
|
|
@@ -817,7 +817,7 @@ public class MaterialInfoController {
|
|
url = KuaishouInterfaceConstant.HTTPS_PREFIX + url;
|
|
url = KuaishouInterfaceConstant.HTTPS_PREFIX + url;
|
|
}
|
|
}
|
|
materialInfo.setUrl(url);
|
|
materialInfo.setUrl(url);
|
|
- materialInfo.setUpdateTime(new Date());
|
|
|
|
|
|
+ materialInfo.setCreateTime(new Date());
|
|
MaterialCutFrame cutFrame = materialCutFrameService.getCutFrameByCode(materialInfo.getCode());
|
|
MaterialCutFrame cutFrame = materialCutFrameService.getCutFrameByCode(materialInfo.getCode());
|
|
if (Check.isNull(cutFrame)) {
|
|
if (Check.isNull(cutFrame)) {
|
|
String videoUrl = URLDecoder.decode(url).replace("https://media-1301855440.cos.ap-chongqing.myqcloud.com/", "");
|
|
String videoUrl = URLDecoder.decode(url).replace("https://media-1301855440.cos.ap-chongqing.myqcloud.com/", "");
|