头像存储目录优化

This commit is contained in:
jianzhichu
2026-03-01 12:00:54 +08:00
parent 5c57a2b040
commit e82e3a9140
8 changed files with 21 additions and 10 deletions
+5 -1
View File
@@ -49,7 +49,11 @@ namespace dy.net.job
protected override string GetAuthorAvatarBasePath(DouyinCookie cookie)
{
return Path.Combine(cookie.SavePath, "author");
if (string.IsNullOrEmpty(cookie.SeriesPath))
return Path.Combine(cookie.SavePath, "author");
else
return Path.Combine(cookie.SeriesPath, "author");
}
}
}