Commit 2d8f7cdc by 孙龙

up

parent a4dcbb61
Showing with 1 additions and 1 deletions
...@@ -39,7 +39,7 @@ class erp2web_service(base): ...@@ -39,7 +39,7 @@ class erp2web_service(base):
'''登录''' '''登录'''
arr = json.loads(data) arr = json.loads(data)
user = arr['user'] user = arr['user']
pwd = arr['pwd'] user_id = 0
if global_auth(user, pwd) == False: if global_auth(user, pwd) == False:
return apiReturn(1, '校验失败') return apiReturn(1, '校验失败')
return apiReturn(0, '登录成功') return apiReturn(0, '登录成功')
......
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 sign in to comment