From 567222cac828336590c7e607f93a8bca973d714f Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Mon, 18 Nov 2019 16:40:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=B8=81=E5=85=85=E5=80=BC?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=A4=B1=E8=B4=A5=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sdk/View/default/Spend/paycallback.html | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/Application/Sdk/View/default/Spend/paycallback.html b/Application/Sdk/View/default/Spend/paycallback.html index 81c4b5db..da67a59e 100644 --- a/Application/Sdk/View/default/Spend/paycallback.html +++ b/Application/Sdk/View/default/Spend/paycallback.html @@ -139,21 +139,12 @@ $(function() { var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 - if (r.payStatus == '1') { - if (r.type == "deposit") { - confirm("支付成功"); - } - } else { - - } + if (r.type == "deposit") { - if (!isAndroid) { - try { - window.webkit.messageHandlers.exchangeResult.postMessage(1); - } catch(err) { - window.location.href = Scheme+"://1&back"; - } - return ; + if (r.payStatus == '1') { + // 提示支付成功 + } else { + // 提示支付失败 } window.location.href = r.url;