Explorar o código

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

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
fda678dce4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}