/// <summary> /// 修改配置列表信息 /// </summary> /// <param name="context"></param> /// <returns></returns> public string SubmitForm(HttpContext context) { string changes = context.Request.Params["changes"].ToString(); List <ConfigsModel> changeObj = JsonHelp.ToList <ConfigsModel>(changes).ToList(); bool result = configsBll.SubmitForm(changeObj); if (result) { //修改配置成功后,写入系统日志 string optContent = "修改后配置为:"; foreach (ConfigsModel configsModel in changeObj) { optContent += string.Format("{0}:{2}; ", configsModel.F_Name, configsModel.F_Id, configsModel.F_Value); } AddSysLog("修改", optContent); return(SuccessResult("修改成功!")); } return(ErrorResult(JsonRpcErrorEnum.UpdateError, "修改失败!")); }