|
@@ -11,7 +11,6 @@
|
|
|
@file: DetectController.py
|
|
|
@Contact: chanjunkai@163.com
|
|
|
"""
|
|
|
-import logging
|
|
|
import os
|
|
|
import time
|
|
|
|
|
@@ -66,14 +65,11 @@ class DetectControllerViewV2(View):
|
|
|
return self.validation(request.POST, operation)
|
|
|
|
|
|
def validation(self, request_dict, operation):
|
|
|
- logger = logging.getLogger('info')
|
|
|
- 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
|
|
|
# 修改推送设置
|