From 2804fa446fdcff299643512ff8a89fa571e0c5e9 Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 22 Nov 2024 09:39:56 +0800 Subject: [PATCH] feat(single): use GlobalUsings --- .../GlobalUsings.cs | 195 ++++++++++++++++++ ...LY.MicroService.Applications.Single.csproj | 2 + ...rviceApplicationsSingleModule.Configure.cs | 88 +------- .../MicroServiceApplicationsSingleModule.cs | 141 +------------ 4 files changed, 204 insertions(+), 222 deletions(-) create mode 100644 aspnet-core/services/LY.MicroService.Applications.Single/GlobalUsings.cs diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/GlobalUsings.cs b/aspnet-core/services/LY.MicroService.Applications.Single/GlobalUsings.cs new file mode 100644 index 000000000..ce2c8f83a --- /dev/null +++ b/aspnet-core/services/LY.MicroService.Applications.Single/GlobalUsings.cs @@ -0,0 +1,195 @@ +global using Elsa; +global using Elsa.Options; +global using LINGYUN.Abp.Account; +global using LINGYUN.Abp.Account.Templates; +global using LINGYUN.Abp.Aliyun.Localization; +global using LINGYUN.Abp.Aliyun.SettingManagement; +global using LINGYUN.Abp.AspNetCore.HttpOverrides; +global using LINGYUN.Abp.AspNetCore.Mvc.Idempotent.Wrapper; +global using LINGYUN.Abp.AspNetCore.Mvc.Localization; +global using LINGYUN.Abp.AspNetCore.Mvc.Wrapper; +global using LINGYUN.Abp.Auditing; +global using LINGYUN.Abp.AuditLogging.EntityFrameworkCore; +global using LINGYUN.Abp.Authentication.QQ; +global using LINGYUN.Abp.Authentication.WeChat; +global using LINGYUN.Abp.Authorization.OrganizationUnits; +global using LINGYUN.Abp.BackgroundTasks; +global using LINGYUN.Abp.BackgroundTasks.Activities; +global using LINGYUN.Abp.BackgroundTasks.DistributedLocking; +global using LINGYUN.Abp.BackgroundTasks.EventBus; +global using LINGYUN.Abp.BackgroundTasks.ExceptionHandling; +global using LINGYUN.Abp.BackgroundTasks.Jobs; +global using LINGYUN.Abp.BackgroundTasks.Notifications; +global using LINGYUN.Abp.BackgroundTasks.Quartz; +global using LINGYUN.Abp.CachingManagement; +global using LINGYUN.Abp.CachingManagement.StackExchangeRedis; +global using LINGYUN.Abp.Dapr.Client; +global using LINGYUN.Abp.Data.DbMigrator; +global using LINGYUN.Abp.DataProtectionManagement; +global using LINGYUN.Abp.DataProtectionManagement.EntityFrameworkCore; +global using LINGYUN.Abp.Demo; +global using LINGYUN.Abp.Demo.Books; +global using LINGYUN.Abp.Demo.EntityFrameworkCore; +global using LINGYUN.Abp.Demo.Localization; +global using LINGYUN.Abp.Elsa; +global using LINGYUN.Abp.Elsa.Activities; +global using LINGYUN.Abp.Elsa.EntityFrameworkCore; +global using LINGYUN.Abp.Elsa.EntityFrameworkCore.MySql; +global using LINGYUN.Abp.ExceptionHandling; +global using LINGYUN.Abp.ExceptionHandling.Emailing; +global using LINGYUN.Abp.Exporter.MiniExcel; +global using LINGYUN.Abp.FeatureManagement; +global using LINGYUN.Abp.FeatureManagement.HttpApi; +global using LINGYUN.Abp.Features.LimitValidation; +global using LINGYUN.Abp.Features.LimitValidation.Redis.Client; +global using LINGYUN.Abp.Http.Client.Wrapper; +global using LINGYUN.Abp.Idempotent; +global using LINGYUN.Abp.Identity; +global using LINGYUN.Abp.Identity.AspNetCore.Session; +global using LINGYUN.Abp.Identity.EntityFrameworkCore; +global using LINGYUN.Abp.Identity.Notifications; +global using LINGYUN.Abp.Identity.OrganizaztionUnits; +global using LINGYUN.Abp.Identity.Session; +global using LINGYUN.Abp.Identity.Session.AspNetCore; +global using LINGYUN.Abp.Identity.WeChat; +global using LINGYUN.Abp.IdentityServer.IdentityResources; +global using LINGYUN.Abp.IdGenerator; +global using LINGYUN.Abp.IM.SignalR; +global using LINGYUN.Abp.Localization.CultureMap; +global using LINGYUN.Abp.Localization.Persistence; +global using LINGYUN.Abp.LocalizationManagement; +global using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; +global using LINGYUN.Abp.MessageService; +global using LINGYUN.Abp.MessageService.EntityFrameworkCore; +global using LINGYUN.Abp.MultiTenancy.Editions; +global using LINGYUN.Abp.Notifications; +global using LINGYUN.Abp.Notifications.Common; +global using LINGYUN.Abp.Notifications.Emailing; +global using LINGYUN.Abp.Notifications.EntityFrameworkCore; +global using LINGYUN.Abp.Notifications.SignalR; +global using LINGYUN.Abp.Notifications.WeChat.MiniProgram; +global using LINGYUN.Abp.OpenApi.Authorization; +global using LINGYUN.Abp.OpenIddict; +global using LINGYUN.Abp.OpenIddict.AspNetCore; +global using LINGYUN.Abp.OpenIddict.AspNetCore.Session; +global using LINGYUN.Abp.OpenIddict.LinkUser; +global using LINGYUN.Abp.OpenIddict.Permissions; +global using LINGYUN.Abp.OpenIddict.Portal; +global using LINGYUN.Abp.OpenIddict.Sms; +global using LINGYUN.Abp.OpenIddict.WeChat; +global using LINGYUN.Abp.OpenIddict.WeChat.Work; +global using LINGYUN.Abp.OssManagement; +global using LINGYUN.Abp.OssManagement.FileSystem; +global using LINGYUN.Abp.OssManagement.Imaging; +global using LINGYUN.Abp.OssManagement.SettingManagement; +global using LINGYUN.Abp.PermissionManagement; +global using LINGYUN.Abp.PermissionManagement.HttpApi; +global using LINGYUN.Abp.PermissionManagement.OrganizationUnits; +global using LINGYUN.Abp.Saas; +global using LINGYUN.Abp.Saas.EntityFrameworkCore; +global using LINGYUN.Abp.Serilog.Enrichers.Application; +global using LINGYUN.Abp.Serilog.Enrichers.UniqueId; +global using LINGYUN.Abp.SettingManagement; +global using LINGYUN.Abp.Sms.Aliyun; +global using LINGYUN.Abp.TaskManagement; +global using LINGYUN.Abp.TaskManagement.EntityFrameworkCore; +global using LINGYUN.Abp.Tencent.Localization; +global using LINGYUN.Abp.Tencent.QQ; +global using LINGYUN.Abp.Tencent.SettingManagement; +global using LINGYUN.Abp.TextTemplating; +global using LINGYUN.Abp.TextTemplating.EntityFrameworkCore; +global using LINGYUN.Abp.UI.Navigation; +global using LINGYUN.Abp.UI.Navigation.VueVbenAdmin; +global using LINGYUN.Abp.Webhooks; +global using LINGYUN.Abp.Webhooks.EventBus; +global using LINGYUN.Abp.Webhooks.Identity; +global using LINGYUN.Abp.Webhooks.Saas; +global using LINGYUN.Abp.WebhooksManagement; +global using LINGYUN.Abp.WebhooksManagement.EntityFrameworkCore; +global using LINGYUN.Abp.WeChat.Common.Messages.Handlers; +global using LINGYUN.Abp.WeChat.Localization; +global using LINGYUN.Abp.WeChat.MiniProgram; +global using LINGYUN.Abp.WeChat.Official; +global using LINGYUN.Abp.WeChat.Official.Handlers; +global using LINGYUN.Abp.WeChat.SettingManagement; +global using LINGYUN.Abp.WeChat.Work; +global using LINGYUN.Abp.WeChat.Work.Handlers; +global using LINGYUN.Abp.Wrapper; +global using LINGYUN.Platform; +global using LINGYUN.Platform.EntityFrameworkCore; +global using LINGYUN.Platform.HttpApi; +global using LINGYUN.Platform.Localization; +global using LINGYUN.Platform.Settings.VueVbenAdmin; +global using LINGYUN.Platform.Theme.VueVbenAdmin; +global using LY.MicroService.Applications.Single.Authentication; +global using LY.MicroService.Applications.Single.EntityFrameworkCore; +global using LY.MicroService.Applications.Single.IdentityResources; +global using Medallion.Threading; +global using Medallion.Threading.Redis; +global using Microsoft.AspNetCore.Authentication.Cookies; +global using Microsoft.AspNetCore.Authentication.JwtBearer; +global using Microsoft.AspNetCore.Cors; +global using Microsoft.AspNetCore.DataProtection; +global using Microsoft.AspNetCore.Identity; +global using Microsoft.AspNetCore.Server.Kestrel.Core; +global using Microsoft.Extensions.Caching.StackExchangeRedis; +global using Microsoft.IdentityModel.Logging; +global using Microsoft.OpenApi.Models; +global using MiniExcelLibs.Attributes; +global using OpenIddict.Server; +global using OpenIddict.Server.AspNetCore; +global using Quartz; +global using StackExchange.Redis; +global using System.Security.Cryptography; +global using System.Security.Cryptography.X509Certificates; +global using System.Text.Encodings.Web; +global using System.Text.Unicode; +global using Volo.Abp; +global using Volo.Abp.Account.Web; +global using Volo.Abp.AspNetCore.Authentication.JwtBearer; +global using Volo.Abp.AspNetCore.Mvc; +global using Volo.Abp.AspNetCore.Mvc.AntiForgery; +global using Volo.Abp.AspNetCore.Mvc.UI.Bundling; +global using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy; +global using Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic; +global using Volo.Abp.AspNetCore.Serilog; +global using Volo.Abp.Auditing; +global using Volo.Abp.Authorization.Permissions; +global using Volo.Abp.Autofac; +global using Volo.Abp.BlobStoring; +global using Volo.Abp.BlobStoring.FileSystem; +global using Volo.Abp.Caching; +global using Volo.Abp.Caching.StackExchangeRedis; +global using Volo.Abp.Data; +global using Volo.Abp.EntityFrameworkCore; +global using Volo.Abp.EntityFrameworkCore.MySQL; +global using Volo.Abp.EventBus; +global using Volo.Abp.FeatureManagement; +global using Volo.Abp.FeatureManagement.EntityFrameworkCore; +global using Volo.Abp.Features; +global using Volo.Abp.GlobalFeatures; +global using Volo.Abp.Http.Client; +global using Volo.Abp.Identity.Localization; +global using Volo.Abp.IdentityServer; +global using Volo.Abp.IdentityServer.Localization; +global using Volo.Abp.Imaging; +global using Volo.Abp.Json; +global using Volo.Abp.Json.SystemTextJson; +global using Volo.Abp.Localization; +global using Volo.Abp.Modularity; +global using Volo.Abp.MultiTenancy; +global using Volo.Abp.OpenIddict; +global using Volo.Abp.OpenIddict.EntityFrameworkCore; +global using Volo.Abp.OpenIddict.Localization; +global using Volo.Abp.PermissionManagement; +global using Volo.Abp.PermissionManagement.EntityFrameworkCore; +global using Volo.Abp.PermissionManagement.Identity; +global using Volo.Abp.PermissionManagement.OpenIddict; +global using Volo.Abp.Quartz; +global using Volo.Abp.Security.Claims; +global using Volo.Abp.SettingManagement; +global using Volo.Abp.SettingManagement.EntityFrameworkCore; +global using Volo.Abp.SettingManagement.Localization; +global using Volo.Abp.Threading; +global using Volo.Abp.UI.Navigation.Urls; +global using Volo.Abp.VirtualFileSystem; \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/LY.MicroService.Applications.Single.csproj b/aspnet-core/services/LY.MicroService.Applications.Single/LY.MicroService.Applications.Single.csproj index 5d12da098..940ca5513 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/LY.MicroService.Applications.Single.csproj +++ b/aspnet-core/services/LY.MicroService.Applications.Single/LY.MicroService.Applications.Single.csproj @@ -6,6 +6,7 @@ net8.0 enable LY.MicroService.Applications.Single + enable @@ -48,6 +49,7 @@ + diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs b/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs index d9d66bc79..60b7ab0e9 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs +++ b/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs @@ -1,90 +1,4 @@ -using Elsa; -using Elsa.Options; -using LINGYUN.Abp.Aliyun.Localization; -using LINGYUN.Abp.BackgroundTasks; -using LINGYUN.Abp.DataProtectionManagement; -using LINGYUN.Abp.Demo.Books; -using LINGYUN.Abp.Demo.Localization; -using LINGYUN.Abp.ExceptionHandling; -using LINGYUN.Abp.ExceptionHandling.Emailing; -using LINGYUN.Abp.Exporter.MiniExcel; -using LINGYUN.Abp.Idempotent; -using LINGYUN.Abp.Identity.Session; -using LINGYUN.Abp.IdentityServer.IdentityResources; -using LINGYUN.Abp.Localization.CultureMap; -using LINGYUN.Abp.Notifications; -using LINGYUN.Abp.OpenIddict.AspNetCore.Session; -using LINGYUN.Abp.OpenIddict.LinkUser; -using LINGYUN.Abp.OpenIddict.Permissions; -using LINGYUN.Abp.OpenIddict.Portal; -using LINGYUN.Abp.OpenIddict.Sms; -using LINGYUN.Abp.OpenIddict.WeChat; -using LINGYUN.Abp.Saas; -using LINGYUN.Abp.Serilog.Enrichers.Application; -using LINGYUN.Abp.Serilog.Enrichers.UniqueId; -using LINGYUN.Abp.Tencent.Localization; -using LINGYUN.Abp.TextTemplating; -using LINGYUN.Abp.WebhooksManagement; -using LINGYUN.Abp.WeChat.Common.Messages.Handlers; -using LINGYUN.Abp.WeChat.Localization; -using LINGYUN.Abp.WeChat.Work; -using LINGYUN.Abp.Wrapper; -using LINGYUN.Platform.Localization; -using LY.MicroService.Applications.Single.Authentication; -using LY.MicroService.Applications.Single.IdentityResources; -using Medallion.Threading; -using Medallion.Threading.Redis; -using Microsoft.AspNetCore.Authentication.Cookies; -using Microsoft.AspNetCore.Authentication.JwtBearer; -using Microsoft.AspNetCore.Cors; -using Microsoft.AspNetCore.DataProtection; -using Microsoft.AspNetCore.Identity; -using Microsoft.AspNetCore.Server.Kestrel.Core; -using Microsoft.Extensions.Caching.StackExchangeRedis; -using Microsoft.IdentityModel.Logging; -using Microsoft.OpenApi.Models; -using MiniExcelLibs.Attributes; -using OpenIddict.Server; -using OpenIddict.Server.AspNetCore; -using Quartz; -using StackExchange.Redis; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; -using System.Text.Encodings.Web; -using System.Text.Unicode; -using Volo.Abp; -using Volo.Abp.AspNetCore.Mvc; -using Volo.Abp.AspNetCore.Mvc.AntiForgery; -using Volo.Abp.AspNetCore.Mvc.UI.Bundling; -using Volo.Abp.Auditing; -using Volo.Abp.Authorization.Permissions; -using Volo.Abp.BlobStoring; -using Volo.Abp.BlobStoring.FileSystem; -using Volo.Abp.BlobStoring.Minio; -using Volo.Abp.Caching; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.FeatureManagement; -using Volo.Abp.Features; -using Volo.Abp.GlobalFeatures; -using Volo.Abp.Http.Client; -using Volo.Abp.Identity.Localization; -using Volo.Abp.IdentityServer; -using Volo.Abp.IdentityServer.Localization; -using Volo.Abp.Json; -using Volo.Abp.Json.SystemTextJson; -using Volo.Abp.Localization; -using Volo.Abp.MultiTenancy; -using Volo.Abp.OpenIddict; -using Volo.Abp.OpenIddict.Localization; -using Volo.Abp.PermissionManagement; -using Volo.Abp.Quartz; -using Volo.Abp.Security.Claims; -using Volo.Abp.SettingManagement; -using Volo.Abp.SettingManagement.Localization; -using Volo.Abp.Threading; -using Volo.Abp.UI.Navigation.Urls; -using Volo.Abp.VirtualFileSystem; -using VoloAbpExceptionHandlingOptions = Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingOptions; +using VoloAbpExceptionHandlingOptions = Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingOptions; namespace LY.MicroService.Applications.Single; diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.cs b/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.cs index fde8e6676..bd351f654 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.cs +++ b/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.cs @@ -1,134 +1,4 @@ -using LINGYUN.Abp.Account; -using LINGYUN.Abp.Account.Templates; -using LINGYUN.Abp.Aliyun.SettingManagement; -using LINGYUN.Abp.AspNetCore.HttpOverrides; -using LINGYUN.Abp.AspNetCore.Mvc.Idempotent.Wrapper; -using LINGYUN.Abp.AspNetCore.Mvc.Localization; -using LINGYUN.Abp.AspNetCore.Mvc.Wrapper; -using LINGYUN.Abp.Auditing; -using LINGYUN.Abp.AuditLogging.EntityFrameworkCore; -using LINGYUN.Abp.Authentication.QQ; -using LINGYUN.Abp.Authentication.WeChat; -using LINGYUN.Abp.Authorization.OrganizationUnits; -using LINGYUN.Abp.BackgroundTasks; -using LINGYUN.Abp.BackgroundTasks.Activities; -using LINGYUN.Abp.BackgroundTasks.DistributedLocking; -using LINGYUN.Abp.BackgroundTasks.EventBus; -using LINGYUN.Abp.BackgroundTasks.ExceptionHandling; -using LINGYUN.Abp.BackgroundTasks.Jobs; -using LINGYUN.Abp.BackgroundTasks.Notifications; -using LINGYUN.Abp.BackgroundTasks.Quartz; -using LINGYUN.Abp.CachingManagement; -using LINGYUN.Abp.CachingManagement.StackExchangeRedis; -using LINGYUN.Abp.Dapr.Client; -using LINGYUN.Abp.Data.DbMigrator; -using LINGYUN.Abp.DataProtectionManagement; -using LINGYUN.Abp.DataProtectionManagement.EntityFrameworkCore; -using LINGYUN.Abp.Demo; -using LINGYUN.Abp.Demo.EntityFrameworkCore; -using LINGYUN.Abp.Elsa; -using LINGYUN.Abp.Elsa.Activities; -using LINGYUN.Abp.Elsa.EntityFrameworkCore; -using LINGYUN.Abp.Elsa.EntityFrameworkCore.MySql; -using LINGYUN.Abp.ExceptionHandling; -using LINGYUN.Abp.ExceptionHandling.Emailing; -using LINGYUN.Abp.Exporter.MiniExcel; -using LINGYUN.Abp.FeatureManagement; -using LINGYUN.Abp.FeatureManagement.HttpApi; -using LINGYUN.Abp.Features.LimitValidation; -using LINGYUN.Abp.Features.LimitValidation.Redis.Client; -using LINGYUN.Abp.Http.Client.Wrapper; -using LINGYUN.Abp.Identity; -using LINGYUN.Abp.Identity.AspNetCore.Session; -using LINGYUN.Abp.Identity.EntityFrameworkCore; -using LINGYUN.Abp.Identity.Notifications; -using LINGYUN.Abp.Identity.OrganizaztionUnits; -using LINGYUN.Abp.Identity.Session.AspNetCore; -using LINGYUN.Abp.Identity.WeChat; -using LINGYUN.Abp.IdGenerator; -using LINGYUN.Abp.IM.SignalR; -using LINGYUN.Abp.Localization.CultureMap; -using LINGYUN.Abp.Localization.Persistence; -using LINGYUN.Abp.LocalizationManagement; -using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; -using LINGYUN.Abp.MessageService; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; -using LINGYUN.Abp.MultiTenancy.Editions; -using LINGYUN.Abp.Notifications; -using LINGYUN.Abp.Notifications.Common; -using LINGYUN.Abp.Notifications.Emailing; -using LINGYUN.Abp.Notifications.EntityFrameworkCore; -using LINGYUN.Abp.Notifications.SignalR; -using LINGYUN.Abp.Notifications.WeChat.MiniProgram; -using LINGYUN.Abp.OpenApi.Authorization; -using LINGYUN.Abp.OpenIddict; -using LINGYUN.Abp.OpenIddict.AspNetCore; -using LINGYUN.Abp.OpenIddict.AspNetCore.Session; -using LINGYUN.Abp.OpenIddict.Portal; -using LINGYUN.Abp.OpenIddict.Sms; -using LINGYUN.Abp.OpenIddict.WeChat; -using LINGYUN.Abp.OpenIddict.WeChat.Work; -using LINGYUN.Abp.OssManagement; -using LINGYUN.Abp.OssManagement.FileSystem; -using LINGYUN.Abp.OssManagement.Imaging; -using LINGYUN.Abp.OssManagement.Minio; -using LINGYUN.Abp.OssManagement.SettingManagement; -using LINGYUN.Abp.PermissionManagement; -using LINGYUN.Abp.PermissionManagement.HttpApi; -using LINGYUN.Abp.PermissionManagement.OrganizationUnits; -using LINGYUN.Abp.Saas; -using LINGYUN.Abp.Saas.EntityFrameworkCore; -using LINGYUN.Abp.Serilog.Enrichers.Application; -using LINGYUN.Abp.Serilog.Enrichers.UniqueId; -using LINGYUN.Abp.SettingManagement; -using LINGYUN.Abp.Sms.Aliyun; -using LINGYUN.Abp.TaskManagement; -using LINGYUN.Abp.TaskManagement.EntityFrameworkCore; -using LINGYUN.Abp.Tencent.QQ; -using LINGYUN.Abp.Tencent.SettingManagement; -using LINGYUN.Abp.TextTemplating; -using LINGYUN.Abp.TextTemplating.EntityFrameworkCore; -using LINGYUN.Abp.UI.Navigation; -using LINGYUN.Abp.UI.Navigation.VueVbenAdmin; -using LINGYUN.Abp.Webhooks; -using LINGYUN.Abp.Webhooks.EventBus; -using LINGYUN.Abp.Webhooks.Identity; -using LINGYUN.Abp.Webhooks.Saas; -using LINGYUN.Abp.WebhooksManagement; -using LINGYUN.Abp.WebhooksManagement.EntityFrameworkCore; -using LINGYUN.Abp.WeChat.MiniProgram; -using LINGYUN.Abp.WeChat.Official; -using LINGYUN.Abp.WeChat.Official.Handlers; -using LINGYUN.Abp.WeChat.SettingManagement; -using LINGYUN.Abp.WeChat.Work; -using LINGYUN.Abp.WeChat.Work.Handlers; -using LINGYUN.Platform; -using LINGYUN.Platform.EntityFrameworkCore; -using LINGYUN.Platform.HttpApi; -using LINGYUN.Platform.Settings.VueVbenAdmin; -using LINGYUN.Platform.Theme.VueVbenAdmin; -using LY.MicroService.Applications.Single.EntityFrameworkCore; -using Volo.Abp; -using Volo.Abp.Account.Web; -using Volo.Abp.AspNetCore.Authentication.JwtBearer; -using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy; -using Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic; -using Volo.Abp.AspNetCore.Serilog; -using Volo.Abp.Autofac; -using Volo.Abp.Caching.StackExchangeRedis; -using Volo.Abp.Data; -using Volo.Abp.EntityFrameworkCore.MySQL; -using Volo.Abp.EventBus; -using Volo.Abp.FeatureManagement.EntityFrameworkCore; -using Volo.Abp.Imaging; -using Volo.Abp.Modularity; -using Volo.Abp.OpenIddict.EntityFrameworkCore; -using Volo.Abp.PermissionManagement.EntityFrameworkCore; -using Volo.Abp.PermissionManagement.Identity; -using Volo.Abp.PermissionManagement.OpenIddict; -using Volo.Abp.SettingManagement; -using Volo.Abp.SettingManagement.EntityFrameworkCore; -using Volo.Abp.Threading; +using Volo.Abp.MailKit; namespace LY.MicroService.Applications.Single; @@ -169,7 +39,7 @@ namespace LY.MicroService.Applications.Single; //typeof(AbpIdentityServerHttpApiModule), //typeof(AbpIdentityServerEntityFrameworkCoreModule), - typeof(AbpOpenIddictAspNetCoreModule), + typeof(LINGYUN.Abp.OpenIddict.AspNetCore.AbpOpenIddictAspNetCoreModule), typeof(AbpOpenIddictAspNetCoreSessionModule), typeof(AbpOpenIddictApplicationModule), typeof(AbpOpenIddictHttpApiModule), @@ -220,8 +90,8 @@ namespace LY.MicroService.Applications.Single; typeof(WebhooksManagementHttpApiModule), typeof(WebhooksManagementEntityFrameworkCoreModule), - typeof(AbpFeatureManagementApplicationModule), - typeof(AbpFeatureManagementHttpApiModule), + typeof(LINGYUN.Abp.FeatureManagement.AbpFeatureManagementApplicationModule), + typeof(LINGYUN.Abp.FeatureManagement.HttpApi.AbpFeatureManagementHttpApiModule), typeof(AbpFeatureManagementEntityFrameworkCoreModule), typeof(AbpSettingManagementDomainModule), @@ -229,7 +99,7 @@ namespace LY.MicroService.Applications.Single; typeof(AbpSettingManagementHttpApiModule), typeof(AbpSettingManagementEntityFrameworkCoreModule), - typeof(AbpPermissionManagementApplicationModule), + typeof(LINGYUN.Abp.PermissionManagement.AbpPermissionManagementApplicationModule), typeof(AbpPermissionManagementHttpApiModule), typeof(AbpPermissionManagementDomainIdentityModule), typeof(AbpPermissionManagementDomainOpenIddictModule), @@ -322,6 +192,7 @@ namespace LY.MicroService.Applications.Single; typeof(AbpAspNetCoreMvcIdempotentWrapperModule), typeof(AbpAspNetCoreHttpOverridesModule), typeof(AbpAspNetCoreMvcUiBasicThemeModule), + typeof(AbpMailKitModule), typeof(AbpEventBusModule), typeof(AbpAutofacModule) )]