头像存储目录优化

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
@@ -50,7 +50,11 @@ namespace dy.net.job
protected override string GetAuthorAvatarBasePath(DouyinCookie cookie)
{
return Path.Combine(cookie.SavePath, "author");
if (string.IsNullOrEmpty(cookie.MixPath))
return Path.Combine(cookie.SavePath, "author");
else
return Path.Combine(cookie.MixPath, "author");
}
}
}