ソースを参照

查询增加打印

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