yumeng 2 vuotta sitten
vanhempi
commit
ac5651c935

+ 6 - 6
jeecg-boot-module-system/src/main/java/cn/com/ctop/common/module/service/impl/MaterialInfoServiceImpl.java

@@ -546,7 +546,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
                 String loadImage = "cutFrame/" + code + "/zero.jpg";
                 String loadImage = "cutFrame/" + code + "/zero.jpg";
                 String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
                 String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
                 info.setCoverUrl(coverUrl);
                 info.setCoverUrl(coverUrl);
-                Thread thread = new Thread() {
+               /* Thread thread = new Thread() {
                     @Override
                     @Override
                     public void run() {
                     public void run() {
                         try {
                         try {
@@ -557,7 +557,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
                         }
                         }
                     }
                     }
                 };
                 };
-                thread.start();
+                thread.start();*/
             } else {
             } else {
                 info.setCoverUrl(cutFrame.getUrl());
                 info.setCoverUrl(cutFrame.getUrl());
             }
             }
@@ -719,7 +719,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
                 String loadImage = "cutFrame/" + code + "/zero.jpg";
                 String loadImage = "cutFrame/" + code + "/zero.jpg";
                 String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
                 String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
                 info.setCoverUrl(coverUrl);
                 info.setCoverUrl(coverUrl);
-                Thread thread = new Thread() {
+              /*  Thread thread = new Thread() {
                     @Override
                     @Override
                     public void run() {
                     public void run() {
                         try {
                         try {
@@ -730,7 +730,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
                         }
                         }
                     }
                     }
                 };
                 };
-                thread.start();
+                thread.start();*/
             } else {
             } else {
                 info.setCoverUrl(cutFrame.getUrl());
                 info.setCoverUrl(cutFrame.getUrl());
             }
             }
@@ -841,7 +841,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
             String loadImage = "cutFrame/" + code + "/zero.jpg";
             String loadImage = "cutFrame/" + code + "/zero.jpg";
             String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
             String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
             info.setCoverUrl(coverUrl);
             info.setCoverUrl(coverUrl);
-            Thread thread = new Thread() {
+           /* Thread thread = new Thread() {
                 @Override
                 @Override
                 public void run() {
                 public void run() {
                     try {
                     try {
@@ -852,7 +852,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
                     }
                     }
                 }
                 }
             };
             };
-            thread.start();
+            thread.start();*/
         } else {
         } else {
             info.setCoverUrl(cutFrame.getUrl());
             info.setCoverUrl(cutFrame.getUrl());
         }
         }

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

@@ -835,7 +835,7 @@ public class MaterialInfoController {
                 String loadImage = "cutFrame/" + materialInfo.getCode() + "/zero.jpg";
                 String loadImage = "cutFrame/" + materialInfo.getCode() + "/zero.jpg";
                 String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
                 String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
                 materialInfo.setCoverUrl(coverUrl);
                 materialInfo.setCoverUrl(coverUrl);
-                Thread thread = new Thread() {
+           /*     Thread thread = new Thread() {
                     @Override
                     @Override
                     public void run() {
                     public void run() {
                         try {
                         try {
@@ -846,7 +846,7 @@ public class MaterialInfoController {
                         }
                         }
                     }
                     }
                 };
                 };
-                thread.start();
+                thread.start();*/
             } else {
             } else {
                 materialInfo.setCoverUrl(cutFrame.getUrl());
                 materialInfo.setCoverUrl(cutFrame.getUrl());
             }
             }
@@ -1173,7 +1173,7 @@ public class MaterialInfoController {
                 String loadImage = "cutFrame/" + materialInfo.getCode() + "/zero.jpg";
                 String loadImage = "cutFrame/" + materialInfo.getCode() + "/zero.jpg";
                 String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
                 String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
                 materialInfo.setCoverUrl(coverUrl);
                 materialInfo.setCoverUrl(coverUrl);
-                Thread thread = new Thread() {
+              /*  Thread thread = new Thread() {
                     @Override
                     @Override
                     public void run() {
                     public void run() {
                         try {
                         try {
@@ -1184,7 +1184,7 @@ public class MaterialInfoController {
                         }
                         }
                     }
                     }
                 };
                 };
-                thread.start();
+                thread.start();*/
             } else {
             } else {
                 materialInfo.setCoverUrl(cutFrame.getUrl());
                 materialInfo.setCoverUrl(cutFrame.getUrl());
             }
             }