public JsonResult OperatorDisable(string IDs) { AjaxResult result = new AjaxResult(); try { OperatorRule rule = new OperatorRule(); result.Success = rule.OperatorDisable(IDs.TrimEnd(',').Split(',')); result.Message = result.Success ? "系统用户状态更新成功。" : "系统用户状态更新失败!"; } catch (Exception ex) { result.Success = false; result.Message = "系统用户状态更新失败:" + ex.Message; } return Json(result, JsonRequestBehavior.AllowGet); }