Commit eb84f76a by dong

fix20230630

parent d6de760f
...@@ -1050,7 +1050,7 @@ def wechat_login(): ...@@ -1050,7 +1050,7 @@ def wechat_login():
} }
else: else:
user_obj = User(mobile=mobile, flag=1) user_obj = User(mobile=mobile, flag=1, status=1)
db.session.add(user_obj) db.session.add(user_obj)
db.session.commit() db.session.commit()
# 若成功保存登录状态 # 若成功保存登录状态
......
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