chenjunkai 6 年之前
父节点
当前提交
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: