public static void Update(SystemParamType paramType, string value, string account) { string originalValue = QueryString(paramType); // 修改数据 SystemParams.Instance.Update(paramType, value); // 记录日志 var content = "将参数 [" + paramType.GetDescription() + "] 的值由 " + (originalValue ?? string.Empty) + " 修改为 " + (value ?? string.Empty); var log = new Service.Log.Domain.OperationLog(OperationModule.系统参数, OperationType.Update, account, OperatorRole.Platform, ((int)paramType).ToString(), content, DateTime.Now); Service.LogService.SaveOperationLog(log); }