27 lines
715 B
C#
27 lines
715 B
C#
|
using Microsoft.Extensions.DependencyInjection;
|
|||
|
using Syc.Abp.HttpApi.Client;
|
|||
|
using Volo.Abp.FeatureManagement;
|
|||
|
using Volo.Abp.Http.Client;
|
|||
|
using Volo.Abp.Modularity;
|
|||
|
using Volo.Abp.VirtualFileSystem;
|
|||
|
|
|||
|
namespace Syc.Basic.Web.WMS;
|
|||
|
|
|||
|
[DependsOn(
|
|||
|
typeof(WMSApplicationContractsModule),
|
|||
|
typeof(AbpHttpClientModule),
|
|||
|
typeof(HttpApiClientModule)
|
|||
|
)]
|
|||
|
public class WMSHttpApiClientModule : AbpModule
|
|||
|
{
|
|||
|
public const string RemoteServiceName = "WMSRemoteService";
|
|||
|
|
|||
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|||
|
{
|
|||
|
context.Services.AddHttpClientProxies(
|
|||
|
typeof(WMSApplicationContractsModule).Assembly,
|
|||
|
RemoteServiceName
|
|||
|
);
|
|||
|
}
|
|||
|
}
|