commit by Kalman.CHENG ☆

This commit is contained in:
chengminglong
2025-08-18 16:55:32 +08:00
parent 12bafdde8a
commit b4f392465b

View File

@@ -217,7 +217,7 @@ async def save_word(request: Request):
if theme_object is None:
return {"success": False, "message": "主题不存在!"}
filename = "【理想大模型】" + str(theme_object["theme_name"]) + "(" + str(question) + ")" + str(time.time()) + ".docx"
filename = "【理想大模型】" + str(theme_object["theme_name"]) + "(" + str(question) + ")" + str(round(time.time())) + ".docx"
output_file = None
try:
# markdown_content 替换换行符