@ -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: