Browse Source

fix:backen bug

chenjunkai 6 years ago
parent
commit
70693d005f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Controller/VodBucket.py

+ 2 - 2
Controller/VodBucket.py

@@ -115,8 +115,8 @@ class UidBucketView(View):
     def post(self, request, *args, **kwargs):
         request.encoding = 'utf-8'
         operation = kwargs.get('operation')
-        request_dict = json.loads(request.body.decode('utf-8'))
-        return self.validation(request_dict, operation)
+        # request_dict = json.loads(request.body.decode('utf-8'))
+        return self.validation(request.POST, operation)
 
     def validation(self, request_dict, operation):
         response = ResponseObject()