diff --git a/src/InterfaceForward.Application/ForwardCore/DefaultForwardFlow.cs b/src/InterfaceForward.Application/ForwardCore/DefaultForwardFlow.cs index 9188eee..f392804 100644 --- a/src/InterfaceForward.Application/ForwardCore/DefaultForwardFlow.cs +++ b/src/InterfaceForward.Application/ForwardCore/DefaultForwardFlow.cs @@ -5,6 +5,7 @@ using System.Text.RegularExpressions; using System.Web; using System.Xml; using Fake.Application; +using Fake.DependencyInjection; using InterfaceForward.Application.Contracts.ForwardCore; using InterfaceForward.Application.Helpers; using InterfaceForward.Application.OSS; @@ -19,7 +20,7 @@ namespace InterfaceForward.Application.ForwardCore; /// /// 默认转发核心流程 /// -public class DefaultForwardFlow : IForwardFlow +public class DefaultForwardFlow : IForwardFlow, ITransientDependency { private static readonly ConcurrentDictionary DelegateDic = new(); [Inject] public IHttpClientFactory ClientFactory { get; set; } = null!;