feat:完善图片模块
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"dotnet-ef": {
|
||||
"version": "7.0.4",
|
||||
"commands": [
|
||||
"dotnet-ef"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
@@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user