/// <summary> /// 保存权限 /// <returns></returns> public string SaveRights() { string moduleno = System.Web.HttpContext.Current.Request.Params["moduleno"]; string data = System.Web.HttpContext.Current.Request.Params["data"]; var list = JsonConvert.DeserializeObject <List <QtModulerightsModel> >(data); var result = new SavedResult <Int64>(); try { CorrespondenceSettingsService.SaveRights(moduleno, list); result.Status = ResponseStatus.Success; } catch (Exception e) { result.Status = ResponseStatus.Error; } return(DataConverterHelper.SerializeObject(result)); }