|
@ -44,20 +44,20 @@ using Volo.Abp.Data; |
|
|
namespace Win_in.Sfs.Scp.WebApi |
|
|
namespace Win_in.Sfs.Scp.WebApi |
|
|
{ |
|
|
{ |
|
|
[DependsOn( |
|
|
[DependsOn( |
|
|
typeof(AbpAutofacModule), |
|
|
typeof(AbpAutofacModule) |
|
|
typeof(AbpAspNetCoreMultiTenancyModule), |
|
|
, typeof(AbpAspNetCoreMultiTenancyModule) |
|
|
typeof(AbpAspNetCoreMvcUiBasicThemeModule), |
|
|
, typeof(AbpAspNetCoreMvcUiBasicThemeModule) |
|
|
typeof(AbpAspNetCoreAuthenticationJwtBearerModule), |
|
|
, typeof(AbpAspNetCoreAuthenticationJwtBearerModule) |
|
|
typeof(AbpAccountWebIdentityServerModule), |
|
|
, typeof(AbpAccountWebIdentityServerModule) |
|
|
typeof(AbpAspNetCoreSerilogModule), |
|
|
, typeof(AbpAspNetCoreSerilogModule) |
|
|
typeof(AbpSwashbuckleModule), |
|
|
, typeof(AbpSwashbuckleModule) |
|
|
typeof(AbpMultiTenancyModule), |
|
|
, typeof(AbpMultiTenancyModule) |
|
|
typeof(AbpBackgroundWorkersModule) |
|
|
// , typeof(AbpBackgroundWorkersModule)
|
|
|
)] |
|
|
)] |
|
|
[DependsOn( |
|
|
[DependsOn( |
|
|
typeof(WebApiHttpApiModule), |
|
|
typeof(WebApiHttpApiModule) |
|
|
typeof(WebApiApplicationModule), |
|
|
, typeof(WebApiApplicationModule) |
|
|
typeof(WebApiEntityFrameworkCoreModule) |
|
|
, typeof(WebApiEntityFrameworkCoreModule) |
|
|
)] |
|
|
)] |
|
|
[DependsOn( |
|
|
[DependsOn( |
|
|
typeof(V1ScpEntityFrameworkCoreModule) |
|
|
typeof(V1ScpEntityFrameworkCoreModule) |
|
@ -292,7 +292,7 @@ namespace Win_in.Sfs.Scp.WebApi |
|
|
|
|
|
|
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context) |
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context) |
|
|
{ |
|
|
{ |
|
|
context.AddBackgroundWorker<AsnBackgroundWorker>(); |
|
|
// context.AddBackgroundWorker<AsnBackgroundWorker>();
|
|
|
|
|
|
|
|
|
var app = context.GetApplicationBuilder(); |
|
|
var app = context.GetApplicationBuilder(); |
|
|
var env = context.GetEnvironment(); |
|
|
var env = context.GetEnvironment(); |
|
|