This commit is contained in:
root
2025-12-10 19:05:55 +05:00
parent 5a4cd9748d
commit 8d749cf53c
3 changed files with 112 additions and 0 deletions
@@ -99,6 +99,8 @@ public class MarketingAnalysisService {
// Generate markdown content for PDF
String markdownContent = buildMarkdownFromReport(reportData, request);
// Save markdown content into report data so frontend gets JSON code blocks
reportData.put("fullAnalysis", markdownContent);
// Generate PDF
byte[] pdfBytes = researchPdfService.generatePdfReport(