소스 검색

打印ai_type,device_type

locky 2 년 전
부모
커밋
c681b713a8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Controller/DetectControllerV2.py

+ 1 - 0
Controller/DetectControllerV2.py

@@ -99,6 +99,7 @@ class NotificationV2View(View):
                 logger.info('消息推送-{}uid_push数据不存在'.format(uid))
                 return JsonResponse(status=200, data={'code': 176, 'msg': 'no uid_push data'})
             ai_type, device_type = uid_push_qs.first()['uid_set__ai_type'], uid_push_qs.first()['uid_set__device_type']
+            logger.info('ai_type: {}, device_type: {}'.format(ai_type, device_type))
             # 将uid_set以及uid_push 转数组列表
             uid_set_push_list = DevicePushService.cache_uid_push(uid_push_qs)
             nickname = uid_set_push_list[0]['uid_set__nickname']