Commit d1197563 by Aeolus

update

parent 4bf50099
......@@ -39,8 +39,8 @@ def user_login():
data = {}
phone = json_data['phone'] if 'phone' in json_data else None
code = json_data['code'] if 'code' in json_data else None
login_type = json_data['type'] if 'type' in json_data else 1 # 1.验证码登录,2.密码登录
# login_type = json_data['type'] if 'type' in json_data else 1 # 1.验证码登录,2.密码登录
login_type = 2
if token:
# token登录
# "校验token"
......
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