zhengyuxuan
2025-04-02 87095b4a2d3e342f4374423b22d90f0ed6557a7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using LifePayment.Application.Contracts;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.Modularity;
 
namespace LifePayment
{
    [DependsOn(typeof(LifePaymentServicesApplicationContractsModule), typeof(AbpAspNetCoreMvcModule))]
    public class LifePaymentServicesHttpApiModule : AbpModule
    {
        public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            PreConfigure<IMvcBuilder>(mvcBuilder =>
            {
                mvcBuilder.AddApplicationPartIfNotExists(typeof(LifePaymentServicesHttpApiModule).Assembly);
            });
        }
 
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
        }
    }
}