From 55a01718c4c5b6343aaee44db03d248d0faaf330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 14 Apr 2017 12:43:21 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98=E6=B5=8B=E8=AF=95=E9=80=80=E6=AC=BE?= =?UTF-8?q?=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/view/config.pay.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/wechat/view/config.pay.html b/application/wechat/view/config.pay.html index b98f7f33c..1633a60fd 100644 --- a/application/wechat/view/config.pay.html +++ b/application/wechat/view/config.pay.html @@ -134,7 +134,12 @@ /*! 发起退款操作 */ $('body').on('click', '.refund-qrc-test a', function () { - $.form.load('{:url("pay")}?action=refund'); + $.form.load('{:url("pay")}?action=refund', {}, 'get', function (ret) { + if (ret.code === 1) { + timer && window.clearInterval(timer), timer = null; + return $.msg.success(ret.msg, 3), false; + } + }); }); });