chenjunkai 6 years ago
parent
commit
579825fe0b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Service/middleware.py

+ 3 - 0
Service/middleware.py

@@ -23,6 +23,9 @@ class StatisticsUrlMiddleware(MiddlewareMixin):
         index = path.find('/OTA/downloads')
         if index != -1:
             addsCount = len(api_settings.ADDR_URL)
+            print('------------------------')
+            print(addsCount)
+            print('========================')
             if addsCount > 1000:
                 return -1
             else: