|
@@ -1120,160 +1120,161 @@ class CloudVodView(View):
|
|
|
response = HttpResponse()
|
|
|
success_pay_content = '''
|
|
|
|
|
|
-
|
|
|
-<!-- saved from url=(0040)http://test.dvema.com/cloudstorage/payOK -->
|
|
|
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
- <!--浏览器不缓存-->
|
|
|
- <meta http-equiv="Pragma" content="no-cache">
|
|
|
- <meta http-equiv="Cache-Control" content="no-cache">
|
|
|
- <meta http-equiv="Expires" content="0">
|
|
|
- <!--utf-8-->
|
|
|
-
|
|
|
- <!-- viewport的<meta>标签,这个标签可以修改在大部分的移动设备上面的显示,为了确保适当的绘制和触屏缩放。-->
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
- <link rel="shortcut icon" href="https://test.dvema.com/web/images/favicon.ico" type="image/x-icon" charset="utf-8">
|
|
|
- <title>支付成功</title>
|
|
|
- <style>
|
|
|
- .title_head{
|
|
|
- height: 50px;
|
|
|
- border-radius: 5px;
|
|
|
- background-color: #c3c6c7;
|
|
|
- text-align: center;
|
|
|
- line-height: 50px;
|
|
|
- }
|
|
|
- .content{
|
|
|
- text-align: center;
|
|
|
- margin-top: 50px;
|
|
|
- font-size: 15px;
|
|
|
- color:#0000008A;
|
|
|
-
|
|
|
- }
|
|
|
- .content_img{
|
|
|
- margin-bottom:15px;
|
|
|
- width: 60px;
|
|
|
- height: 60px;
|
|
|
- }
|
|
|
- .bottom{
|
|
|
- margin-bottom: 10px;
|
|
|
- margin-top: 250px;
|
|
|
- color : white;
|
|
|
- }
|
|
|
- .bottom_div{
|
|
|
- border: 1px solid #68c9c5;
|
|
|
- line-height: 38px;
|
|
|
- text-align: center;
|
|
|
- width: 100px;
|
|
|
- height: 38px;
|
|
|
- border-radius: 30px;
|
|
|
- background-color:#68c9c5;
|
|
|
- }
|
|
|
-
|
|
|
- .bottom_div:hover{
|
|
|
- background-color: #dde4e2;
|
|
|
- }
|
|
|
- </style>
|
|
|
-</head>
|
|
|
-<body style="" rlt="1" inmaintabuse="true">
|
|
|
-
|
|
|
- <div class="content">
|
|
|
- <p>
|
|
|
- <img src="./支付成功_files/success.png" class="content_img">
|
|
|
- <br>
|
|
|
- 支付成功
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <center class="bottom">
|
|
|
- <div class="bottom_div" onclick="payOKButton()">
|
|
|
- 完成
|
|
|
- </div>
|
|
|
- </center>
|
|
|
- <script src="./支付成功_files/hm.js.下载"></script><script> // 点击付款成功按钮
|
|
|
- function payOKButton() {
|
|
|
- // 复杂数据
|
|
|
- console.log('success')
|
|
|
- window.location.href="https://www.baidu.com?page=closePage"
|
|
|
- }
|
|
|
- </script>
|
|
|
-
|
|
|
-
|
|
|
- <div id="qds" style="display:none;"></div>
|
|
|
- </body></html>
|
|
|
+ <!-- saved from url=(0040)http://test.dvema.com/cloudstorage/payOK -->
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
+ <!--浏览器不缓存-->
|
|
|
+ <meta http-equiv="Pragma" content="no-cache">
|
|
|
+ <meta http-equiv="Cache-Control" content="no-cache">
|
|
|
+ <meta http-equiv="Expires" content="0">
|
|
|
+ <!--utf-8-->
|
|
|
+
|
|
|
+ <!-- viewport的<meta>标签,这个标签可以修改在大部分的移动设备上面的显示,为了确保适当的绘制和触屏缩放。-->
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <link rel="shortcut icon" href="https://test.dvema.com/web/images/favicon.ico" type="image/x-icon" charset="utf-8">
|
|
|
+ <title>支付成功</title>
|
|
|
+ <style>
|
|
|
+ .title_head{
|
|
|
+ height: 50px;
|
|
|
+ border-radius: 5px;
|
|
|
+ background-color: #c3c6c7;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 50px;
|
|
|
+ }
|
|
|
+ .content{
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 50px;
|
|
|
+ font-size: 15px;
|
|
|
+ color:#0000008A;
|
|
|
+
|
|
|
+ }
|
|
|
+ .content_img{
|
|
|
+ margin-bottom:15px;
|
|
|
+ width: 60px;
|
|
|
+ height: 60px;
|
|
|
+ }
|
|
|
+ .bottom{
|
|
|
+ margin-bottom: 10px;
|
|
|
+ margin-top: 250px;
|
|
|
+ color : white;
|
|
|
+ }
|
|
|
+ .bottom_div{
|
|
|
+ border: 1px solid #68c9c5;
|
|
|
+ line-height: 38px;
|
|
|
+ text-align: center;
|
|
|
+ width: 100px;
|
|
|
+ height: 38px;
|
|
|
+ border-radius: 30px;
|
|
|
+ background-color:#68c9c5;
|
|
|
+ }
|
|
|
+
|
|
|
+ .bottom_div:hover{
|
|
|
+ background-color: #dde4e2;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+ </head>
|
|
|
+ <body style="" rlt="1" inmaintabuse="true">
|
|
|
+ <div class="content">
|
|
|
+ <p>
|
|
|
+ <img src="./支付成功_files/success.png" class="content_img">
|
|
|
+ <br>
|
|
|
+ 支付成功
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <center class="bottom">
|
|
|
+ <div class="bottom_div" onclick="payOKButton()">
|
|
|
+ 完成
|
|
|
+ </div>
|
|
|
+ </center>
|
|
|
+ <script src="./支付成功_files/hm.js.下载"></script><script> // 点击付款成功按钮
|
|
|
+ function payOKButton() {
|
|
|
+ // 复杂数据
|
|
|
+ console.log('success')
|
|
|
+ window.location.href="https://www.baidu.com?page=closePage"
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+ <div id="qds" style="display:none;"></div>
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
'''
|
|
|
falil_pay_content = '''
|
|
|
- <!DOCTYPE html>
|
|
|
- <html>
|
|
|
- <head>
|
|
|
- <!--浏览器不缓存-->
|
|
|
- <meta http-equiv="Pragma" content="no-cache">
|
|
|
- <meta http-equiv="Cache-Control" content="no-cache">
|
|
|
- <meta http-equiv="Expires" content="0">
|
|
|
- <!--utf-8-->
|
|
|
- <meta http-equiv="content-type" content="text/html;charset=utf-8">
|
|
|
- <!-- viewport的<meta>标签,这个标签可以修改在大部分的移动设备上面的显示,为了确保适当的绘制和触屏缩放。-->
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
- <link rel="shortcut icon" href="https://test.dvema.com/web/images/favicon.ico" type="image/x-icon" charset="utf-8"/>
|
|
|
- <title>Trading particulars</title>
|
|
|
- <style>
|
|
|
- .title_head{
|
|
|
- height: 50px;
|
|
|
- border-radius: 5px;
|
|
|
- background-color: #c3c6c7;
|
|
|
- text-align: center;
|
|
|
- line-height: 50px;
|
|
|
- }
|
|
|
- .content{
|
|
|
- text-align: center;
|
|
|
- margin-top: 50px;
|
|
|
- font-size: 20px;
|
|
|
- color : #ec7648
|
|
|
- }
|
|
|
- .content_img{
|
|
|
- width: 60px;
|
|
|
- height: 60px;
|
|
|
- }
|
|
|
- .bottom{
|
|
|
- margin-bottom: 10px;
|
|
|
- margin-top: 250px;
|
|
|
- color : #ec7648
|
|
|
- }
|
|
|
- .bottom_div{
|
|
|
- border: 1px solid #ec7648;
|
|
|
- line-height: 38px;
|
|
|
- text-align: center;
|
|
|
- width: 100px;
|
|
|
- height: 38px;
|
|
|
- border-radius: 5px;
|
|
|
- }
|
|
|
-
|
|
|
- .bottom_div:hover{
|
|
|
- background-color: #dde4e2;
|
|
|
- }
|
|
|
- </style>
|
|
|
- </head>
|
|
|
- <body>
|
|
|
- <div class="title_head">Trading particulars</div>
|
|
|
- <div class="content">
|
|
|
- <p >
|
|
|
- <img src="https://test.dvema.com/web/images/failed.jpg" class="content_img">
|
|
|
- <br />
|
|
|
- Payment failure
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <center class="bottom">
|
|
|
- <div class="bottom_div" onclick="payOKButton()">
|
|
|
- Finish
|
|
|
- </div>
|
|
|
- </center>
|
|
|
- <script> // 点击付款成功按钮
|
|
|
- function payOKButton() {
|
|
|
- // 复杂数据
|
|
|
- console.log('success')
|
|
|
- //window.webkit.messageHandlers.jsCallOC.postMessage({"status": 0});
|
|
|
- window.location.href="https://www.baidu.com?page=closePage"
|
|
|
- }
|
|
|
- </script>
|
|
|
- </body>
|
|
|
- </html>
|
|
|
+ <!DOCTYPE html>
|
|
|
+ <!-- saved from url=(0301)http://test.dvema.com/cloudVod/orderStatus?orderID=20201222084512037485&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJsYW5nIjoiY24iLCJleHAiOjE2MTEyMTg2OTEsInVzZXIiOiIxMzgwMDEzODAwMDE1NzU4ODgzNTAwNjEyMDgiLCJ1c2VySUQiOiIxMzgwMDEzODAwMDE1NzU4ODgzNTAwNjEyMDgifQ.Jjcana0NjrHzAv6CusQrVANK3Bn0gnDrc_CKDZruIgk -->
|
|
|
+ <html>
|
|
|
+ <head>
|
|
|
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
+ <!--浏览器不缓存-->
|
|
|
+ <meta http-equiv="Pragma" content="no-cache">
|
|
|
+ <meta http-equiv="Cache-Control" content="no-cache">
|
|
|
+ <meta http-equiv="Expires" content="0">
|
|
|
+ <!--utf-8-->
|
|
|
+
|
|
|
+ <!-- viewport的<meta>标签,这个标签可以修改在大部分的移动设备上面的显示,为了确保适当的绘制和触屏缩放。-->
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <link rel="shortcut icon" href="https://test.dvema.com/web/images/favicon.ico" type="image/x-icon" charset="utf-8">
|
|
|
+ <title>Trading particulars</title>
|
|
|
+ <style>
|
|
|
+ .title_head{
|
|
|
+ height: 50px;
|
|
|
+ border-radius: 5px;
|
|
|
+ background-color: #c3c6c7;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 50px;
|
|
|
+ }
|
|
|
+ .content{
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 50px;
|
|
|
+ font-size: 20px;
|
|
|
+ color : #ec7648
|
|
|
+ }
|
|
|
+ .content_img{
|
|
|
+ width: 60px;
|
|
|
+ height: 60px;
|
|
|
+ }
|
|
|
+ .bottom{
|
|
|
+ margin-bottom: 10px;
|
|
|
+ margin-top: 250px;
|
|
|
+ color : #ec7648
|
|
|
+ }
|
|
|
+ .bottom_div{
|
|
|
+ border: 1px solid #ec7648;
|
|
|
+ line-height: 38px;
|
|
|
+ text-align: center;
|
|
|
+ width: 100px;
|
|
|
+ height: 38px;
|
|
|
+ border-radius: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .bottom_div:hover{
|
|
|
+ background-color: #dde4e2;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <div class="title_head">Trading particulars</div>
|
|
|
+ <div class="content">
|
|
|
+ <p>
|
|
|
+ <img src="./Trading particulars_files/failed.jpg" class="content_img">
|
|
|
+ <br>
|
|
|
+ Payment failure
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <center class="bottom">
|
|
|
+ <div class="bottom_div" onclick="payOKButton()">
|
|
|
+ Finish
|
|
|
+ </div>
|
|
|
+ </center>
|
|
|
+ <script> // 点击付款成功按钮
|
|
|
+ function payOKButton() {
|
|
|
+ // 复杂数据
|
|
|
+ console.log('success')
|
|
|
+ //window.webkit.messageHandlers.jsCallOC.postMessage({"status": 0});
|
|
|
+ window.location.href="https://www.baidu.com?page=closePage"
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
'''
|
|
|
if om_qs.exists():
|
|
|
if om_qs[0]['status'] == 1:
|