Bladeren bron

打印ai_type,device_type

locky 2 jaren geleden
bovenliggende
commit
c681b713a8
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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']