Browse Source

sign type

chenjunkai 6 years ago
parent
commit
df5182a2e8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Controller/Test.py

+ 2 - 1
Controller/Test.py

@@ -57,7 +57,8 @@ class Test(View):
     def post(self, request, *args, **kwargs):
         data = dict(request.POST)
         response = ResponseObject()
-        signature = data.pop("sign")
+        signature = data["sign"]
+        data.pop('sign')
         print(json.dumps(data))
         print(signature)
         # verify