mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信支付测试退款操作
This commit is contained in:
parent
ef6d4935af
commit
55a01718c4
@ -134,7 +134,12 @@
|
|||||||
|
|
||||||
/*! 发起退款操作 */
|
/*! 发起退款操作 */
|
||||||
$('body').on('click', '.refund-qrc-test a', function () {
|
$('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;
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user