feat:完善图片模块

This commit is contained in:
陈淳
2023-04-06 11:47:36 +08:00
parent ee6b3b535c
commit 386ec5ade0
13 changed files with 480 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "7.0.4",
"commands": [
"dotnet-ef"
]
}
}
}

View File

@@ -11,7 +11,6 @@
<Compile Include="..\GlobalUsings.cs" Link="Properties\GlobalUsings.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Hei.Captcha" Version="0.3.0" />
<PackageReference Include="UAParser" Version="3.1.47" />
</ItemGroup>
<ItemGroup>

View File

@@ -13,6 +13,7 @@ using Yi.Framework.Ddd;
using Yi.Framework.DictionaryManager;
using Yi.Framework.EventBus;
using Yi.Framework.FileManager;
using Yi.Framework.ImageSharp;
using Yi.Framework.OperLogManager;
using Yi.Framework.Sms.Aliyun;
using Yi.RBAC.Domain.Logs;
@@ -28,7 +29,8 @@ namespace Yi.RBAC.Domain
typeof(YiFrameworkFileManagerModule),
typeof(YiFrameworkDictionaryManagerModule),
typeof(YiFrameworkCachingMemoryCacheModule),
typeof(YiFrameworkSmsAliyunModule)
typeof(YiFrameworkSmsAliyunModule),
typeof(YiFrameworkImageSharpModule)
)]
public class YiRBACDomainModule : IStartupModule
{
@@ -38,8 +40,6 @@ namespace Yi.RBAC.Domain
public void ConfigureServices(IServiceCollection services, ConfigureServicesContext context)
{
services.AddHeiCaptcha();
}
}
}