From 3137d52d2878e9d66db9c0a1b22d97516d11fb18 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Wed, 13 Nov 2019 11:14:54 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sdk/View/default/WapPay/wap_shortcut_pay.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html b/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html index e6c5e233..e67147a9 100644 --- a/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html +++ b/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html @@ -543,15 +543,18 @@ url: "{:U('WapPay/shortcut_pay')}" , data: $('#wfform').serialize(), success: function (result) { + btnpay = false; //处理结果 if(result.status == 0){ Tip.msgShow(result.info); + }else if(result.status == 1){ + window.location.href = result.url; + }else{ + Tip.msgShow('未知信息'); } - //TODO: 支付成功跳转 - - console.log(result) }, error: function() { + btnpay = false; Tip.msgShow('网络请求异常,请稍后再试'); } });