locky 4 жил өмнө
parent
commit
389658fdc8

+ 1 - 1
Controller/ShadowController.py

@@ -85,7 +85,7 @@ def update_device_shadow(request):
                            voice_prompt_leave=0)
 
         # 重置消息提醒
-        Device_Info.filter(UID=uid).update(NotificationMode=0)
+        Device_Info.objects.filter(UID=uid).update(NotificationMode=0)
 
         # 删除uid_set数据
         UidSetModel.objects.filter(uid=uid).delete()