You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
979 B
33 lines
979 B
using Localization.Resources.AbpUi;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.AspNetCore.Mvc;
|
|
using Volo.Abp.Localization;
|
|
using Volo.Abp.Modularity;
|
|
using Win_in.Sfs.Wms.Job.Application.Contracts;
|
|
using Win_in.Sfs.Wms.Job.Domain.Shared;
|
|
|
|
namespace Win_in.Sfs.Wms.Job.HttpApi;
|
|
|
|
[DependsOn(
|
|
typeof(JobApplicationContractsModule),
|
|
typeof(AbpAspNetCoreMvcModule))]
|
|
public class JobHttpApiModule : AbpModule
|
|
{
|
|
public override void PreConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
PreConfigure<IMvcBuilder>(mvcBuilder =>
|
|
{
|
|
mvcBuilder.AddApplicationPartIfNotExists(typeof(JobHttpApiModule).Assembly);
|
|
});
|
|
}
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources
|
|
.Get<JobResource>()
|
|
.AddBaseTypes(typeof(AbpUiResource));
|
|
});
|
|
}
|
|
}
|
|
|