chore 优化代码
This commit is contained in:
		| @ -1,7 +1,4 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Text; | ||||
| using KonSoft.Dispatch.Localization; | ||||
| using KonSoft.Dispatch.Localization; | ||||
| using Volo.Abp.Application.Services; | ||||
|  | ||||
| namespace KonSoft.Dispatch; | ||||
| @ -14,4 +11,4 @@ public abstract class DispatchAppService : ApplicationService | ||||
|     { | ||||
|         LocalizationResource = typeof(DispatchResource); | ||||
|     } | ||||
| } | ||||
| } | ||||
| @ -4,10 +4,4 @@ namespace KonSoft.Dispatch; | ||||
|  | ||||
| public class DispatchApplicationAutoMapperProfile : Profile | ||||
| { | ||||
|     public DispatchApplicationAutoMapperProfile() | ||||
|     { | ||||
|         /* You can configure your AutoMapper mapping configuration here. | ||||
|          * Alternatively, you can split your mapping configurations | ||||
|          * into multiple profile classes for a better organization. */ | ||||
|     } | ||||
| } | ||||
| } | ||||
| @ -18,14 +18,11 @@ namespace KonSoft.Dispatch; | ||||
|     typeof(AbpTenantManagementApplicationModule), | ||||
|     typeof(AbpFeatureManagementApplicationModule), | ||||
|     typeof(AbpSettingManagementApplicationModule) | ||||
|     )] | ||||
| )] | ||||
| public class DispatchApplicationModule : AbpModule | ||||
| { | ||||
|     public override void ConfigureServices(ServiceConfigurationContext context) | ||||
|     { | ||||
|         Configure<AbpAutoMapperOptions>(options => | ||||
|         { | ||||
|             options.AddMaps<DispatchApplicationModule>(); | ||||
|         }); | ||||
|         Configure<AbpAutoMapperOptions>(options => { options.AddMaps<DispatchApplicationModule>(); }); | ||||
|     } | ||||
| } | ||||
| } | ||||
| @ -1,2 +1,3 @@ | ||||
| using System.Runtime.CompilerServices; | ||||
| [assembly:InternalsVisibleToAttribute("KonSoft.Dispatch.Application.Tests")] | ||||
|  | ||||
| [assembly: InternalsVisibleToAttribute("KonSoft.Dispatch.Application.Tests")] | ||||
		Reference in New Issue
	
	Block a user