瀏覽代碼

重置语音提示为127

chenshibin 4 年之前
父節點
當前提交
e7c7c9a022
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/ShadowController.py

+ 1 - 1
Controller/ShadowController.py

@@ -82,7 +82,7 @@ def update_device_shadow(request):
         uid_channel_qs = UidChannelSetModel.objects.filter(uid__uid=uid)
         uid_channel_qs = UidChannelSetModel.objects.filter(uid__uid=uid)
         if uid_channel_qs.exists():
         if uid_channel_qs.exists():
             uid_channel_qs.update(voice_prompt_intelligent_mute=0, voice_prompt_status=0, voice_prompt_enter=0,
             uid_channel_qs.update(voice_prompt_intelligent_mute=0, voice_prompt_status=0, voice_prompt_enter=0,
-                           voice_prompt_leave=0)
+                           voice_prompt_leave=0, voice_repeat_day=127)
 
 
         # 删除uid_set数据
         # 删除uid_set数据
         UidSetModel.objects.filter(uid=uid).delete()
         UidSetModel.objects.filter(uid=uid).delete()