删除客户资料前端页面没有显示

/**
*删除客户
* @param ids
* @param request
* @param model
* @return
*/
@RequestMapping(value = "/customer/dcust", method = {RequestMethod.GET,RequestMethod.POST})
public @ResponseBody String delCustomer(HttpServletRequest request,Model model){
try {
String ids=request.getParameter("ids");
Integer userId = getUserId(request);
if(null==userId){
return "100001";
}
if(StringUtils.isEmpty(ids)){
return "100002";
}
Integer count= customerService.delCustomers(userId, ids);
if(count > 0){
return "10000";
}else{
return "10003";
}
} catch (Exception e) {
log.error("delCollectCom error " + e.getMessage());
return "10004";
}
}

先在count>0后面加上||count != null
还有,把类贴全一些
而且js部分也要接收的方法