Эх сурвалжийг харах

修复更新全部已读报错

zhangdongming 1 сар өмнө
parent
commit
4ba08c97a9

+ 1 - 1
Controller/EquipmentInfo.py

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