From a01b259a89be1cae0a9447a3a27258e935efe30f Mon Sep 17 00:00:00 2001
From: xiaolipro <2357729423@qq.com>
Date: Sat, 26 Jul 2025 10:12:17 +0800
Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Adefault=20flow=20service=20registry?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ForwardCore/DefaultForwardFlow.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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!;