Browse Source

支付操作后,返回状态码1

chenshibin 4 years ago
parent
commit
fda678dce4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/CloudVod.py

+ 1 - 1
Controller/CloudVod.py

@@ -1132,7 +1132,7 @@ class CloudVodView(View):
                 status = 1
                 url = "{SERVER_DOMAIN}web/paid2/success.html".format(SERVER_DOMAIN=SERVER_DOMAIN)
             else:
-                status = 1
+                status = 0
                 url = "{SERVER_DOMAIN}web/paid2/fail.html".format(SERVER_DOMAIN=SERVER_DOMAIN)
 
         res = {'status': status, 'url': url}