浏览代码

修改代码

zhangdongming 1 年之前
父节点
当前提交
357146f267
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/VoicePromptController.py

+ 1 - 1
Controller/VoicePromptController.py

@@ -19,7 +19,7 @@ class VoicePromptView(View):
         request.encoding = 'utf-8'
         request.encoding = 'utf-8'
         request_dict = request.GET
         request_dict = request.GET
         operation = kwargs.get('operation', None)
         operation = kwargs.get('operation', None)
-        return self.validate(request_dict, operation)
+        return self.validate(request, request_dict, operation)
 
 
     def post(self, request, *args, **kwargs):
     def post(self, request, *args, **kwargs):
         request.encoding = 'utf-8'
         request.encoding = 'utf-8'