Browse Source

查询增加打印

zhangdongming 3 years ago
parent
commit
5d152bbf35
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Controller/MessagePush/EquipmentMessagePush.py

+ 3 - 0
Controller/MessagePush/EquipmentMessagePush.py

@@ -47,7 +47,10 @@ class EquipmentMessagePushView(View):
 
     @classmethod
     def do_uid_set_query(cls, request_dict, response):
+
+        logger = logging.getLogger('info')
         uid = request_dict.get('uid', None)
+        logger.info("----查询状态打印uid{}".format(uid))
         if not uid:
             return response.json(444, 'uid')
         uid_set_qs = UidSetModel.objects.filter(uid=uid).order_by('-updTime')