优化版本检测逻辑

This commit is contained in:
jonnyan404 2021-04-02 17:55:46 +08:00 committed by Gitee
parent 2f258d3e1c
commit c102081379

View File

@ -939,7 +939,7 @@ def check_update(request):
elif resp2.status_code == 200:
return JsonResponse({'status':True,'data':resp[0]})
else:
return JsonResponse({'status':True,'data':"{'name': 'v0.0.1'}"})
return JsonResponse({'status':True,'data':{'name': 'v0.0.1'}})
# 后台管理