|
@@ -40,13 +40,12 @@ public class WatermarkVideoJob implements Job {
|
|
|
|
|
|
try {
|
|
|
String localPath = LoadFileUtil.downLoadFromUrl(url, PropertiesUtils.getValue("kuaishou_config", "video_sava_path"));
|
|
|
- // String localPath = LoadFileUtil.downLoadFromUrl(url,"D:/video/");
|
|
|
- String md5 = LoadFileUtil.getMD5(localPath);
|
|
|
LoadFileUtil.delFile(localPath);
|
|
|
QueryWrapper<MaterialInfo> materialInfoQueryWrapper = new QueryWrapper<>();
|
|
|
materialInfoQueryWrapper.eq("watermark_code", job.getJobId());
|
|
|
MaterialInfo materialInfo = materialInfoService.getOne(materialInfoQueryWrapper);
|
|
|
if (Check.isNull(materialInfo)) {
|
|
|
+ videoWaterMarkService.removeById(videoWatermarkTask.getId());
|
|
|
continue;
|
|
|
|
|
|
}
|