yumeng преди 4 години
родител
ревизия
1de0fd34d5
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/MaterialInfoController.java

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/MaterialInfoController.java

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