Browse Source

删除查询慢原因日志

chenshibin 4 years ago
parent
commit
8afcd0fc08
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Controller/DetectControllerV2.py

+ 0 - 4
Controller/DetectControllerV2.py

@@ -11,7 +11,6 @@
 @file: DetectController.py
 @file: DetectController.py
 @Contact: chanjunkai@163.com
 @Contact: chanjunkai@163.com
 """
 """
-import logging
 import os
 import os
 import time
 import time
 
 
@@ -66,14 +65,11 @@ class DetectControllerViewV2(View):
         return self.validation(request.POST, operation)
         return self.validation(request.POST, operation)
 
 
     def validation(self, request_dict, operation):
     def validation(self, request_dict, operation):
-        logger = logging.getLogger('log')
-        logger.info('V2新增查找慢进来了')
         response = ResponseObject()
         response = ResponseObject()
         if operation is None:
         if operation is None:
             return response.json(444, 'error path')
             return response.json(444, 'error path')
         token = request_dict.get('token', None)
         token = request_dict.get('token', None)
         tko = TokenObject(token)
         tko = TokenObject(token)
-        logger.info('V2新增查找慢出来了')
         if tko.code == 0:
         if tko.code == 0:
             userID = tko.userID
             userID = tko.userID
             # 修改推送设置
             # 修改推送设置