From 8a27fd7bdd3a0005064cecebd1d81bdfb0dec18d Mon Sep 17 00:00:00 2001 From: lihan <3398341942@qq.com> Date: Wed, 7 Nov 2018 17:43:21 +0800 Subject: [PATCH] 赠送积分和角色管理 --- public/themes/simpleboot3/cart/zj_cart/order_confirm.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/themes/simpleboot3/cart/zj_cart/order_confirm.html b/public/themes/simpleboot3/cart/zj_cart/order_confirm.html index a73f1d0..c6df313 100644 --- a/public/themes/simpleboot3/cart/zj_cart/order_confirm.html +++ b/public/themes/simpleboot3/cart/zj_cart/order_confirm.html @@ -876,7 +876,11 @@ } //积分支付 else { - window.location.href=data.url; + if(data.msg == '您的积分不足') { + alert(data.msg); + }else { + window.location.href = data.url; + } } } }) -- libgit2 0.24.0