Browse Source

fix:pay by ali

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

+ 2 - 2
Controller/CloudVod.py

@@ -255,8 +255,8 @@ class CloudVodView(View):
             print(repr(e))
             return response.json(10, repr(e))
         if order_string:
-            # redirectUrl = "https://openapi.alipaydev.com/gateway.do?" + order_string
-            redirectUrl = "https://openapi.alipay.com/gateway.do?" + order_string
+            redirectUrl = "https://openapi.alipaydev.com/gateway.do?" + order_string
+            # redirectUrl = "https://openapi.alipay.com/gateway.do?" + order_string
             # from django.http import HttpResponseRedirect
             # return HttpResponseRedirect("https://openapi.alipaydev.com/gateway.do?" + order_string)
             Order_Model.objects.create(orderID=orderID, UID=uid, channel=channel, userID_id=userID, desc=content,