Эх сурвалжийг харах

购物云存套餐返回URL

chenshibin 4 жил өмнө
parent
commit
601c7473c6

+ 3 - 1
Controller/CloudStorage.py

@@ -1110,7 +1110,9 @@ class CloudStorageView(View):
         )
 
         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):