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