Update cart.jsp

修改其中一个url的bug
feature/hy
threecat-up 3 years ago committed by GitHub
parent bdf4f0355d
commit a316dfeebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,7 +20,7 @@
var count = this.value;
var id = $(this).attr("bookId");
if(confirm("你确定要修改【"+name+"】数量为"+count+"么?")) {
location.href="http://localhost:8080/bookstore1/cartServlet?action=updateCount&count="+count+"&id="+id;
location.href="http://localhost:8080/Book/cartServlet?action=updateCount&count="+count+"&id="+id;
} else {
this.value = this.defaultValue;
}

Loading…
Cancel
Save