From a67fee32bf2524031ca47fbbea1c73a4ad30d61d Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 5 Nov 2019 10:45:59 +0800 Subject: [PATCH] txyxsdk --- .../Sdk/Controller/SpendController.class.php | 2 +- .../Sdk/View/default/Spend/pay_success.html | 2 +- .../Sdk/View/default/Spend/pay_success3.html | 195 ++++++++++++++++++ .../Sdk/View/default/Spend/pay_way.html | 2 +- 4 files changed, 198 insertions(+), 3 deletions(-) create mode 100644 Application/Sdk/View/default/Spend/pay_success3.html diff --git a/Application/Sdk/Controller/SpendController.class.php b/Application/Sdk/Controller/SpendController.class.php index 465ffa4f..5401122b 100644 --- a/Application/Sdk/Controller/SpendController.class.php +++ b/Application/Sdk/Controller/SpendController.class.php @@ -221,7 +221,7 @@ class SpendController extends Controller { $result = M ( 'Spend', 'tab_' )->field ( "pay_status" )->where ( $map )->find (); $this->assign ( 'paystatus', $result ['pay_status'] ); - $this->display ( 'pay_success' ); + $this->display ( 'pay_success3' ); } public function pay_error() { $Scheme = file_get_contents ( "./Application/Sdk/Scheme/" . $_GET ['game_id'] . ".txt" ); diff --git a/Application/Sdk/View/default/Spend/pay_success.html b/Application/Sdk/View/default/Spend/pay_success.html index 2e07525b..11a905fc 100644 --- a/Application/Sdk/View/default/Spend/pay_success.html +++ b/Application/Sdk/View/default/Spend/pay_success.html @@ -99,7 +99,7 @@ var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 try{ if(isAndroid){ - window.mengchuang.getPayResult('fail'); + window.txyxsdk.getPayResult('fail'); }else{ window.webkit.messageHandlers.exchangeResult.postMessage(0); } diff --git a/Application/Sdk/View/default/Spend/pay_success3.html b/Application/Sdk/View/default/Spend/pay_success3.html new file mode 100644 index 00000000..99d74ab6 --- /dev/null +++ b/Application/Sdk/View/default/Spend/pay_success3.html @@ -0,0 +1,195 @@ + + +
+ + + +