2024-07-19 18:17:36 +08:00
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
using Volo.Abp.Domain;
|
2024-04-07 16:35:21 +08:00
|
|
|
|
using Yi.Framework.Bbs.Domain.Shared;
|
2024-07-19 18:17:36 +08:00
|
|
|
|
using Yi.Framework.ChatHub.Domain.Shared.Options;
|
2024-04-04 14:00:32 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.ChatHub.Domain.Shared
|
|
|
|
|
|
{
|
|
|
|
|
|
[DependsOn(
|
2024-04-07 16:35:21 +08:00
|
|
|
|
typeof(AbpDddDomainSharedModule),
|
2024-07-19 18:17:36 +08:00
|
|
|
|
|
2024-04-07 16:35:21 +08:00
|
|
|
|
typeof(YiFrameworkBbsDomainSharedModule))]
|
2024-04-04 14:00:32 +08:00
|
|
|
|
public class YiFrameworkChatHubDomainSharedModule : AbpModule
|
|
|
|
|
|
{
|
2024-07-19 18:17:36 +08:00
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
|
|
|
|
{
|
|
|
|
|
|
var configuration = context.Services.GetConfiguration();
|
|
|
|
|
|
Configure<AiOptions>(configuration.GetSection("AiOptions"));
|
|
|
|
|
|
}
|
2024-04-04 14:00:32 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|