feat: add configurable watermark text in API settings
This commit is contained in:
@@ -660,6 +660,7 @@ def export_pdf(plan_id):
|
||||
content=content,
|
||||
output_dir=current_app.config["PDF_OUTPUT_DIR"],
|
||||
rendered_report=rendered_report, # 传递渲染后的报告
|
||||
watermark_text=api_config.get("watermark_text"),
|
||||
)
|
||||
|
||||
return send_file(
|
||||
|
||||
Reference in New Issue
Block a user