mirror of https://github.com/abpframework/eventhub
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.
27 lines
846 B
27 lines
846 B
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.Http.Client;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.VirtualFileSystem;
|
|
|
|
namespace Payment.Admin
|
|
{
|
|
[DependsOn(
|
|
typeof(PaymentAdminApplicationContractsModule),
|
|
typeof(AbpHttpClientModule)
|
|
)]
|
|
public class PaymentAdminHttpApiClientModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
context.Services.AddStaticHttpClientProxies(
|
|
typeof(PaymentAdminApplicationContractsModule).Assembly,
|
|
PaymentAdminRemoteServiceConsts.RemoteServiceName
|
|
);
|
|
|
|
Configure<AbpVirtualFileSystemOptions>(options =>
|
|
{
|
|
options.FileSets.AddEmbedded<PaymentAdminHttpApiClientModule>();
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|