diff --git a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs index cae5b37dc..15928d549 100644 --- a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs +++ b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs @@ -32,34 +32,33 @@ public class JobExecutedFailedProvider : JobExecutedProvider, ITransientDependen new JobActionParamter(PropertyCulture, L("DisplayName:PropertyCulture"), L("Description:PropertyCulture")), }; - public const string Prefix = "exception."; public const string JobGroup = "ExceptionNotifier"; - public const string PropertyFrom = Prefix + "from"; + public const string PropertyFrom = "from"; /// /// 接收者 /// - public const string PropertyTo = Prefix + "to"; + public const string PropertyTo = "to"; /// /// 必须,邮件主体 /// - public const string PropertySubject = Prefix + "subject"; + public const string PropertySubject = "subject"; /// /// 消息内容, 文本消息时必须 /// - public const string PropertyBody = Prefix + "body"; + public const string PropertyBody = "body"; /// /// 发送模板消息 /// - public const string PropertyTemplate = Prefix + "template"; + public const string PropertyTemplate = "template"; /// /// 可选, 模板消息中的上下文参数 /// - public const string PropertyContext = Prefix + "context"; + public const string PropertyContext = "context"; /// /// 可选, 模板消息中的区域性 /// - public const string PropertyCulture = Prefix + "culture"; + public const string PropertyCulture = "culture"; public ILogger Logger { protected get; set; }