chenjunkai 6 năm trước cách đây
mục cha
commit
cd42111969
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)