mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 22:43:25 +08:00
优化后台查询微信支付单支付状态
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
</script>
|
||||
<script type="text/html" id="LAY-app-CoreCmsBillPayments-tableBox-bar">
|
||||
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
|
||||
{{# if(d.paymentCode == 'wechatpay' && d.status !=2){ }}
|
||||
{{# if((d.paymentCode == 'wechatpay' || d.paymentCode == 'alipay') && d.status !=2){ }}
|
||||
<a class="layui-btn layui-btn-xs" lay-event="doRefresh">刷新</a>
|
||||
{{# } }}
|
||||
</script>
|
||||
@@ -224,6 +224,7 @@
|
||||
//执行刷新操作
|
||||
function doRefresh(obj) {
|
||||
coreHelper.Post("Api/CoreCmsBillPayments/doRefresh", { id: obj.data.paymentId }, function (e) {
|
||||
table.reloadData('LAY-app-CoreCmsBillPayments-tableBox');
|
||||
layer.msg(e.msg);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user