提交 3090fd00 编写于 作者: T Terry

apphtml5 checkout cart:使用后台配置参数

上级 2fb27c80
......@@ -330,9 +330,11 @@ $(document).ready(function(){
data: $data,
url:updateCartInfoUrl,
success:function(data, textStatus){
if(data.status == 'success'){
if (data.status == 'success') {
window.location.href=currentUrl;
}
} else {
alert(data.content);
}
},
error:function (XMLHttpRequest, textStatus, errorThrown){}
});
......@@ -355,9 +357,11 @@ $(document).ready(function(){
data: $data,
url:updateCartInfoUrl,
success:function(data, textStatus){
if(data.status == 'success'){
if (data.status == 'success') {
window.location.href=currentUrl;
}
} else {
alert(data.content);
}
},
error:function (XMLHttpRequest, textStatus, errorThrown){}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册