浏览代码

查询增加打印

zhangdongming 3 年之前
父节点
当前提交
5d152bbf35
共有 1 个文件被更改,包括 3 次插入0 次删除
  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')