add download update_time
This commit is contained in:
parent
3bf6539f48
commit
8108ec5b9e
@ -116,7 +116,7 @@ def manageDownload(request):
|
||||
user_info = user_info['user_info']
|
||||
if user_info['password'] == data_cache['password']:
|
||||
# 密码正确
|
||||
return {'errcode': 200, 'errmsg': 'ok', 'codebook': user_info['codebook']}
|
||||
return {'errcode': 200, 'errmsg': 'ok', 'codebook': user_info['codebook'], 'update_time': user_info['update_time']}
|
||||
else:
|
||||
# 密码错误
|
||||
return {'errcode': 502, 'errmsg': '密码错误'}
|
||||
|
Loading…
x
Reference in New Issue
Block a user