|
@@ -55,7 +55,11 @@ class Test(View):
|
|
|
return HttpResponseRedirect("https://openapi.alipay.com/gateway.do?" + order_string)
|
|
|
|
|
|
def post(self, request, *args, **kwargs):
|
|
|
- data = dict(request.POST)
|
|
|
+ response = ResponseObject()
|
|
|
+
|
|
|
+ data = request.POST.dict()
|
|
|
+ print(data)
|
|
|
+ return response.json(0,data)
|
|
|
response = ResponseObject()
|
|
|
signature = data["sign"]
|
|
|
data.pop('sign')
|