function delCustomer(id,num){
var r=confirm("友情提醒:确认要删除客户吗?");
if (r==true){
$.ajax({
type: "POST",
url: "${contextPath!}/my/customer/delCustomer",
data: "id="+id,
success: function(data){
if(data != null){
var jsonData = eval("("+data+")");
var message = jsonData.message;
var status = jsonData.status;
if(status == "OK"){
$('.lists').empty();
getList();
}else{
wxAlert(message);
return;
}
}
}
});
}