This commit is contained in:
XXAY
2021-10-04 22:22:12 +08:00
parent c1edaaab61
commit 21b04b906d
6 changed files with 48 additions and 318 deletions
+4 -5
View File
@@ -73,13 +73,12 @@ def basics(request):
tools.keep_file(file, file_path)
josn = {}
for i in request.GET.lists():
if i[0] not in ['_', 'file', 'k']:
josn[i[0]] = i[1][0]
for i in request.POST.lists():
josn[i[0]] = i[1][0]
print(josn)
data = {"id": file_id}
tools.Basics(file_path, josn)
tools.Basics(file_path, josn).run()
return JsonResponse(data)