fix: Donate历史

This commit is contained in:
Tim
2025-10-17 11:35:29 +08:00
parent 8643446d8b
commit d914579d64
8 changed files with 72 additions and 13 deletions

View File

@@ -52,6 +52,8 @@ public class PostChangeLogMapper {
} else if (log instanceof PostFeaturedChangeLog f) {
dto.setOldFeatured(f.isOldFeatured());
dto.setNewFeatured(f.isNewFeatured());
} else if (log instanceof PostDonateChangeLog d) {
dto.setAmount(d.getAmount());
}
return dto;
}