add download update_time

This commit is contained in:
RainSun 2020-03-06 11:31:29 +08:00
parent 3bf6539f48
commit 8108ec5b9e

View File

@ -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': '密码错误'}