fix:default flow service registry

This commit is contained in:
xiaolipro 2025-07-26 10:12:17 +08:00
parent bbb8686a09
commit a01b259a89

View File

@ -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;
/// <summary>
/// 默认转发核心流程
/// </summary>
public class DefaultForwardFlow : IForwardFlow
public class DefaultForwardFlow : IForwardFlow, ITransientDependency
{
private static readonly ConcurrentDictionary<string, Delegate> DelegateDic = new();
[Inject] public IHttpClientFactory ClientFactory { get; set; } = null!;