chenjunkai 6 лет назад
Родитель
Сommit
cd42111969
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Controller/AccessLog.py

+ 1 - 1
Controller/AccessLog.py

@@ -197,7 +197,7 @@ def InstantLog(request):
     response = ResponseObject()
     if request.method == 'GET':
         token = request.GET.get('token', None)
-    if request.method == 'POST':
+    elif request.method == 'POST':
         token = request.POST.get('token', None)
     else:
         return response.json(104)