Bug: 修复发树洞时自动关注失败和无法利用tag搜索的bug #7

Closed
ferrahit67 wants to merge 1 commits from ferrahit67/hole_thu_backend:master into master

View File

@@ -250,6 +250,7 @@ def do_post():
)
db.session.add(p)
db.session.commit() # 需要先commit才能获得post的id
tags = re.findall('(^|\\s)#([^#\\s]{1,32})', content)
for t in tags: