Przeglądaj źródła

修复更新全部已读报错

zhangdongming 1 miesiąc temu
rodzic
commit
4ba08c97a9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Controller/EquipmentInfo.py

+ 1 - 1
Controller/EquipmentInfo.py

@@ -102,7 +102,7 @@ class EquipmentInfo(View):
         redis_obj = RedisObject()
         redis_obj = RedisObject()
 
 
         if is_update_all == 1:
         if is_update_all == 1:
-            kwargs = {'userID_id': userID, 'status': 0}
+            kwargs = {'device_user_id': userID, 'status': 0}
             if event_type:
             if event_type:
                 kwargs['event_type'] = int(event_type)
                 kwargs['event_type'] = int(event_type)
             try:
             try: