optimize:friendly reminder

This commit is contained in:
xiaolipro 2025-07-26 10:13:35 +08:00
parent a01b259a89
commit ba12588bcd

View File

@ -142,7 +142,7 @@ public class InterfaceForwardCommon(
public IForwardFlow GetForwardFlow(string flowCode) public IForwardFlow GetForwardFlow(string flowCode)
{ {
return serviceProvider.GetServices<IForwardFlow>() return serviceProvider.GetServices<IForwardFlow>()
.FirstOrDefault(x => x.GetType().Name == flowCode)?? throw new BusinessException(""); .FirstOrDefault(x => x.GetType().Name == flowCode)?? throw new BusinessException("未找到流程模版,请联系开发");
} }
/// <summary> /// <summary>