chenshibin 4 жил өмнө
parent
commit
354ec450a6

+ 4 - 0
Controller/DetectControllerV2.py

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