#add message

This commit is contained in:
xieshen 2020-11-14 00:33:36 +08:00
parent 40eef5c1f8
commit 82e98070f3
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ def group_super_search_by_keyword(request):
{'group': group, 'res_g_i': res_g_i, 'count': count, 'level': level}) {'group': group, 'res_g_i': res_g_i, 'count': count, 'level': level})
def app_download(request): def app_download(request):
file = open('/var/www/p3/newmediamonitoring/media/app-11.apk', 'rb') file = open('/var/www/p3/newmediamonitoring/media/app-10.apk', 'rb')
response = HttpResponse(file) response = HttpResponse(file)
response['Content-Type'] = 'application/octet-stream' response['Content-Type'] = 'application/octet-stream'
response['Content-Disposition'] = 'attachment;filename="app.apk"' response['Content-Disposition'] = 'attachment;filename="app.apk"'