public JsonResult SysConfigEdit(string sysName, string rootName, string defaultPassword) { try { _business.SysConfigEdit(sysName, rootName, defaultPassword); return(Json(new JsonResultLogModel { State = true, Message = "修改成功!", Log = $" 用户 {SiteUser.Username} 修改系统配置: 系统名称 为 “{sysName}”;分行名称 为“{rootName}”;默认重置密码 为 “{defaultPassword}”", LogType = LogType.ConfigManage, Username = SiteUser.Username })); } catch (Exception ex) { return(Json(new { State = false, Message = ex.Message })); } }