Browse Source

购物云存套餐返回URL

chenshibin 4 years ago
parent
commit
601c7473c6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Controller/CloudStorage.py

+ 3 - 1
Controller/CloudStorage.py

@@ -1110,7 +1110,9 @@ class CloudStorageView(View):
         )
         )
 
 
         red_url = "{SERVER_DOMAIN}cloudstorage/payOK".format(SERVER_DOMAIN=SERVER_DOMAIN)
         red_url = "{SERVER_DOMAIN}cloudstorage/payOK".format(SERVER_DOMAIN=SERVER_DOMAIN)
-        return HttpResponseRedirect(red_url)
+        return JsonResponse(status=200, data={'red_url': red_url})
+
+        # return HttpResponseRedirect(red_url)
 
 
 
 
 def deleteVodHls(request):
 def deleteVodHls(request):