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

修改语音的返回字段1

tanghongbin 4 жил өмнө
parent
commit
d59d689fef

+ 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