Commit 96ecd95d authored by litaolemo's avatar litaolemo

update

parent 75629597
......@@ -161,7 +161,9 @@ def push_data_to_user(res_data: Dict) -> Dict:
res_data["content"] = content
# 处理格式
res_data["content"] = gm_convert_html_tags(res_data["content"], all_tags=True)
print(res_data)
if not res_data.get("level"):
res_data["level"] = 1
# print(res_data)
return res_data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment