소스 검색

修复更新全部已读报错

zhangdongming 1 개월 전
부모
커밋
4ba08c97a9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Controller/EquipmentInfo.py

+ 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: