public string DeleteRange(int[] arrId) { BaseResult baseResult = new BaseResult(); if (_dataTypeService.DeleteRange(arrId, User.Identity.Name)) { baseResult.Code = 0; baseResult.Msg = "删除成功!"; } else { baseResult.Code = 1; baseResult.Msg = "删除失败!"; } return(JsonHelper.ObjectToJSON(baseResult)); }