处理个小bug-记录存在,文件被删了的情况

This commit is contained in:
jianzhichu
2025-12-29 20:26:35 +08:00
parent 727dba6e08
commit 96a66a9f54
6 changed files with 17 additions and 11 deletions
+7
View File
@@ -644,6 +644,13 @@ namespace dy.net.job
}
}
}
else
{
//记录存在,但本地文件不存在,则继续下载。
Log.Debug($"{VideoType}-视频-{exitVideo.AwemeId}记录存在,但本地文件缺失,删除记录,重新下载");
//删除原来的记录
await douyinVideoService.DeleteById(exitVideo.Id);
}
}
}
return true;