diff --git a/Falcon.Extend/Falcon.Extend.csproj b/Falcon.Extend/Falcon.Extend.csproj index 9798c1d..757ffcf 100644 --- a/Falcon.Extend/Falcon.Extend.csproj +++ b/Falcon.Extend/Falcon.Extend.csproj @@ -3,7 +3,7 @@ netstandard2.0;netstandard2.1 true - 1.0.1 + 1.2.1 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml http://39.105.71.191/Falcon/Falcon.Extend http://39.105.71.191/Falcon/Falcon.Extend diff --git a/Falcon.Extend/ServiceCollectionExtend.cs b/Falcon.Extend/ServiceCollectionExtend.cs index 342fb0d..0b2be85 100644 --- a/Falcon.Extend/ServiceCollectionExtend.cs +++ b/Falcon.Extend/ServiceCollectionExtend.cs @@ -34,5 +34,15 @@ namespace Falcon.Extend public static IServiceCollection AddMsJsonProvider(this IServiceCollection services) { return services.AddSingleton(); } + + /// + /// 注册AES加密解密组件提供ICryptoService服务 + /// + /// 服务集合 + /// 服务集合 + public static IServiceCollection AddAESCrypto(this IServiceCollection services) { + services.AddSingleton(); + return services; + } } }