Commit 6ef0603e by dong

fix20220304

parent ab2fbaec
......@@ -367,13 +367,7 @@ def login_bypwd():
current_app.logger.error(
'++++++++++++++++++++++++++++登录日志>>>{}:{}通过使用手机-密码登录成功了!+++++++++++++++++++++++=++'.format(time, mobile))
return jsonify(code=RET.OK, msg="登录成功", token=token, flag=user.flag)
return jsonify(code=RET.OK, msg="登录成功", data={"token": token, "flag": user.flag})
# # 异步邮箱发送信息
# def send_async_email(mail, app, msg):
......
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