Explorar el Código

修改语音的返回字段1

tanghongbin hace 4 años
padre
commit
d59d689fef
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Controller/VoicePromptController.py

+ 2 - 2
Controller/VoicePromptController.py

@@ -237,9 +237,9 @@ class VoicePromptView(View):
                             res['leave_voice'] = voice
 
             if res['leave_voice'] == 0:
-                res['leave_voice'] = ''
+                res['leave_voice'] = {}
             if res['enter_voice'] == 0:
-                res['enter_voice'] = ''
+                res['enter_voice'] = {}
 
             res['system']['enter'] = enter_systems
             res['system']['leave'] = leave_systems