From 5d92e2a58f8230dd504b4d79feb8f828874ade43 Mon Sep 17 00:00:00 2001 From: tping Date: Thu, 5 Mar 2020 20:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=B8=81=E6=98=93=E5=AE=9D?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sdk/View/default/UserH/platform_pay.html | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/Application/Sdk/View/default/UserH/platform_pay.html b/Application/Sdk/View/default/UserH/platform_pay.html index f6fbfd36..bc2f703c 100644 --- a/Application/Sdk/View/default/UserH/platform_pay.html +++ b/Application/Sdk/View/default/UserH/platform_pay.html @@ -310,8 +310,27 @@ } //快捷支付 function shorcut(){ - flag = false; - window.location.href =payurl; + $.ajax({ + type: "GET", + dataType: "json", + url: payurl, + data: { + + }, + success: function (r) { + flag = false; + if (r.code == 200) { + window.location.href = r.url; + } else { + $(".tipmsg").html(result.msg); + $(".msgdialog").show(); + } + } + + }); + + // flag = false; + // window.location.href =payurl; } $(".payment_rest_btn").click(function(){ $(".payment_rest_btn").hide();