Authored by xuqi

del order

... ... @@ -112,7 +112,7 @@ orderHammer.on('tap', function(e) {
//Order delete
$.ajax({
type: 'GET',
url: '/home/delOrder',
url: '/home/deleteOrder',
data: {
id: id
},
... ... @@ -136,8 +136,8 @@ orderHammer.on('tap', function(e) {
success: function(data) {
if (data.code === 200) {
//取消订单
alert('order cancel');
//取消订单页面刷新
location.href = location.href;
}
}
});
... ...