python学习

This commit is contained in:
2019-07-22 14:50:06 +08:00
parent accd7523be
commit 40dac844cc
19 changed files with 621 additions and 400 deletions

View File

@@ -19,6 +19,9 @@ def before_request():
return
user_info = check_login()
g.current_user=None
if user_info:
g.current_user=user_info
pattern = re.compile('%s' % "|".join(ignore_urls))
if pattern.match(path):