chenjunkai 6 жил өмнө
parent
commit
579825fe0b
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  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: